簡體   English   中英

fluent-plugin-elasticsearch:logstash_format true不起作用

[英]fluent-plugin-elasticsearch: logstash_format true not working

我正在嘗試實施此方法: http : //www.tipstuff.org/2014/01/Postfix-log-centralize-and-analysis-in-realtime-with-fluentd-elasticsearch-and-kibana-part-4.html

我可以使用此配置進行所有操作:

<match mail.info>
  type elasticsearch
  log_level debug
  index_name postfix_mail
  type_name postfix_mail
</match>

但是當我添加logstash_format true時,它不起作用。 我非常需要ES索引中的時間戳,以使Kibana能夠按需工作。

<match mail.info>
  type elasticsearch
  log_level debug
  index_name postfix_mail
  type_name postfix_mail
  logstash_format true
</match>

我試圖在td-agent初始化腳本(-vv選項)中添加詳細的日志記錄,但是在那里我沒有得到任何有價值的東西。

任何解決此問題的意見將不勝感激。

在您的match塊中,我沒有看到Elasticsearch服務器的任何詳細信息。 也許加上?

文檔在這里: https : //github.com/uken/fluent-plugin-elasticsearch

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM