Created
June 14, 2018 07:07
-
-
Save noemi-dresden/dc2a629b215c00eb3dd6aa9272c80876 to your computer and use it in GitHub Desktop.
Example logstash config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input{ | |
kafka { | |
boostrap_servers => "localhost:9092" | |
topic => "a-kafka-topic" | |
} | |
} | |
filter{ | |
json { | |
source => "message" | |
} | |
} | |
output { | |
elasticsearch { | |
hosts => ["localhost:9200"] | |
index => "your-index-name" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment