Learning Elastic Stack 6.0 보는데..... 정말 저자를 패고 싶다.

테스트를 안한 건지.... 버전업이 되면서 바뀐건지....


logstash를 윈도우에 설치하고 테스트 해 보는 예제인데....

single quote(작은 따음표)를 주고 실행하면 아래와 같은 오류가 발생한다.


C:\logstash-6.6.0\bin>logstash.bat -e 'input { stdin { } } output { stdout { } }'

ERROR: Unknown command '{'


See: 'bin/logstash --help'

[ERROR] 2019-02-11 00:58:05.745 [main] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit


double quote(큰 따음표)로 변경해서 실행하면 잘 되는거 같은데....


C:\logstash-6.6.0\bin>logstash.bat -e "input { stdin { } } output { stdout { } }"

Sending Logstash logs to C:/logstash-6.6.0/logs which is now configured via log4j2.properties

[2019-02-11T01:01:54,037][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified

[2019-02-11T01:01:54,051][INFO ][logstash.runner          ] Starting Logstash {"logstash.version"=>"6.6.0"}

[2019-02-11T01:01:59,024][INFO ][logstash.pipeline        ] Starting pipeline {:pipeline_id=>"main", "pipeline.workers"=>8, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>50}

[2019-02-11T01:01:59,138][INFO ][logstash.pipeline        ] Pipeline started successfully {:pipeline_id=>"main", :thread=>"#<Thread:0x402ecfea run>"}

The stdin plugin is now waiting for input:

[2019-02-11T01:01:59,172][INFO ][logstash.agent           ] Pipelines running {:count=>1, :running_pipelines=>[:main], :non_running_pipelines=>[]}

[2019-02-11T01:01:59,445][INFO ][logstash.agent           ] Successfully started Logstash API endpoint {:port=>9600}




Posted by gt1000

블로그 이미지
gt1000

태그목록

공지사항

어제
오늘

달력

 « |  » 2024.4
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

글 보관함