Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input {
- http {
- port => 9090
- }
- }
- filter {
- json {
- source => "message"
- }
- }
- output {
- elasticsearch {
- hosts => ["localhost:9200"]
- index => "logs-%{+YYYY-MM-dd}"
- document_type => "match"
- }
- stdout {
- codec => rubydebug
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement