kubernetes – Elasticsearch own logs are not showing up in kibana
I am running a elasticsearch, Kibana, Filebeat in a GCP OKE Cluster using helm chart( from elsticsearch official site)
github.com/elastic/helm-charts
All are up and running fine. even I am able to see the file beat logs in Kibana Discovery but getting below error in Kibana stack monitoring even I have added the Elasticsearch module in filebeat configuration (as shown below)
# filebeat.yml Configuration
---
daemonset:
enabled: true
filebeatConfig:
filebeat.yml: |
filebeat.inputs:
- type: container
paths:
- /var/log/containers/*.log
processors:
- add_kubernetes_metadata:
host: ${NODE_NAME}
matchers:
- logs_path:
logs_path: "/var/log/containers/"
filebeat.modules:
- module: elasticsearch
server:
enabled: true
gc:
enabled: true
audit:
enabled: true
slowlog:
enabled: true
deprecation:
enabled: true
output.elasticsearch:
host: '${NODE_NAME}'
hosts: ["elasticsearch-master:9200"]
Read more here: Source link