我'm currently using ELK stack with filebeat. I'能够以json格式将apache日志文件内容映射到Elasticsearch服务器 . 现在我想知道如何在kibana中为filebeat创建索引模式?按照以下链接,但没有帮助 . https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-index-pattern.html
我'm currently using ELK stack with filebeat. I'能够以json格式将apache日志文件内容映射到Elasticsearch服务器 . 现在我想知道如何在kibana中为filebeat创建索引模式?按照以下链接,但没有帮助 . https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-index-pattern.html
1 回答
如您链接的页面所述,"To load this pattern, you can use the script that’s provided for importing dashboards."因此,在您看到
filebeat-*
索引模式之前,您应该运行./scripts/import_dashboards
工具然后刷新页面 . 这会将索引模式写入Kibana使用的.kibana
索引中 .对于Linux,当按rpm或deb安装时,命令为:
如果您使用的是tar或zip包,则该命令位于程序包的
scripts
目录中 .您可以转到
Management
- >Index Patterns
进一步管理或修改Kibana中的索引模式 .