Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input {
- elasticsearch {
- hosts => ["localhost:9200"]
- index => ""
- # user => "elastic"
- # password => "changeme"
- query => '{"query": {"match_all": {}}}'
- }
- }
- filter {}
- output {
- stdout { codec => dots }
- csv {
- fields => ["sameAs","title"] # Must list up all the necessary field names
- path => "csv-file.csv"
- }
- }
Add Comment
Please, Sign In to add comment