logstash - Windows환경에서
x./bin/logstash.bat -f simple-logstash.conf
`simple-logstash.conf``
xxxxxxxxxxinput { stdin { } }output { elasticsearch { hosts => ["localhost:9200"] } stdout { codec => rubydebug }}
apply라고 입력하니
"message"에서 "apply\r"이 나오는 것을 확인할 수 있다.
xxxxxxxxxx[2018-09-06T22:36:56,819][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}apply{ "@timestamp" => 2018-09-06T13:37:07.620Z, "message" => "apply\r", "@version" => "1", "host" => "DESKTOP-EPO63E3"}
'Back-end' 카테고리의 다른 글
| django-rest-framework에서 Token기반인증 사용 Views 작성(Functional based Views) (0) | 2019.12.06 |
|---|---|
| Github Oauth App의 Authorization 처리 (0) | 2019.10.31 |
| Kibana - Visualization (0) | 2018.09.05 |
| Elastic Search - Bucket Aggregation (0) | 2018.09.01 |
| Elastic Search -Metric Aggregation (0) | 2018.08.31 |
댓글