Last active
August 17, 2022 09:50
-
-
Save sergey-alekseev/b3edf7702a86b72c05ed8e65fb257cd0 to your computer and use it in GitHub Desktop.
Revisions
-
sergey-alekseev revised this gist
May 3, 2016 . No changes.There are no files selected for viewing
-
sergey-alekseev revised this gist
May 3, 2016 . No changes.There are no files selected for viewing
-
sergey-alekseev created this gist
May 3, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ input { # Read all documents from Elasticsearch matching the given query elasticsearch { hosts => "localhost" index => "index_name" query => '{"query":{"regexp":{"not_analyzed_field":".*"}}}' } } output { csv { fields => ["_id", "_type", "field"] path => "/home/sergey/export.csv" } }