如何使用 Logstash 将数据从 Elasticsearch 导出到 CSV?我只需要包含特定的列。
最佳答案
安装 2 plugins : elasticsearch input plugin和 csv output plugin . 然后创建a configuration file .这是 a good example for this particular case .
你现在准备好了,只需运行:
bin/logstash -f/path/to/logstash-es-to-csv-example.conf
并检查 output -> csv -> path
中指定的 export.csv
文件。
关于elasticsearch - 使用 Logstash 将数据从 Elasticsearch 导出到 CSV,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37007206/