logstash 从es导出csv

input {
  elasticsearch {
    host => "http://xx:9200"
    index => " "
    query => '{"query":{"bool":{}}}'
  }
}

output {
  csv {
    fields => ["",""]
    path => "/mnt/path.csv"
    csv_option => {"forch_quotes" => true}
  }
}

你可能感兴趣的:(elasticsearch,elasticsearch,大数据,big,data)