| # Write all logs to elasticsearch | |
| output { | |
| elasticsearch_http { | |
| host => "123.123.123.123" | |
| index => "logstash-production-%{+YYYY.MM.dd}" | |
| port => 9200 | |
| codec => "json" | |
| index_type => "%{type}" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment