No indices match pattern with "filebeat-*",

Hi,

I am working on ELK & Filebeat(6.4.0 version),i want to visualize the apache2 and mysql logs on kibana dashboard through filebeat.I enabled the modules in modules.d and giving the log path to apache2.yml & mysql.yml file.But the kibana is visualizing only var/log/yum.log files not apache2 logs, in the dashboard getting " No results displayed because all values equal 0".Can you please help me how to solve that issue.

please find that my filebeat.yml file

#=========================== Filebeat inputs =============================

filebeat.inputs:

  • type: log

    Change to true to enable this input configuration.

    enabled: true

    Paths that should be crawled and fetched. Glob based paths.

    paths:
    #- /var/log/syslog
    • /usr/local/java/C2S_LOGS/*.log
      #============================= Filebeat modules ===============================
      filebeat.config.modules:

    Glob pattern for configuration loading

    path: ${path.config}/modules.d/*.yml

    Set to true to enable config reloading

    reload.enabled: false
    #==================== Elasticsearch template setting ==========================
    setup.template.settings:
    index.number_of_shards: 3
    #============================== Kibana =====================================
    setup.kibana:
    host: "10.02.1.82:5601"
    #-------------------------- Elasticsearch output ------------------------------
    output.elasticsearch:

    Array of hosts to connect to.

    hosts: ["10.02.1.82:9200"]
    protocol: "http"
    username: "elastic"
    password: "changeme"

#----------------------------- Logstash output --------------------------------
#output.logstash:

The Logstash hosts

hosts: ["10.02.1.82:5044"]

xpack.monitoring.enabled: true
xpack.monitoring.elasticsearch:
logging.metrics.period: 10s

Thanks in advance,
Sri.

any errors in the filebeat logs?

Thank you for your reply steffens,

This is my filebeat logs.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.