elasticsearch - 使用 Logstash 将数据从 Elasticsearch 导出到 CSV

标签 elasticsearch logstash export-to-csv

如何使用 Logstash 将数据从 Elasticsearch 导出到 CSV?我只需要包含特定的列。

最佳答案

安装 2 plugins : elasticsearch input plugincsv 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/

相关文章:

elasticsearch - _msearch不返回任何内容

elasticsearch - 无法在Kibana中创建可视化(无兼容字段)-但我有兼容字段

elasticsearch - Logstash Apache 日志的自定义日志过滤器

elasticsearch - 如何使用 Elasticsearch 为窗口配置logstash?

php - 是否有可能使用 PHP 获取 Google 网站管理员工具 (GET) 数据?

python - 将 .pkl 文件转换为 .csv 文件

elasticsearch - 泰坦索引与 Elasticsearch 。字符串匹配问题

indexing - elasticsearch-是否可以动态设置index.ttl.interval

elasticsearch - 将logstash配置文件所需的文件放在我的ec2实例上的什么位置?

javascript - 通过javascript从IE中的JSON导出CSV