Can't discover created logs in Kibana


I am relatively new to ELK, so I am probably missing something trivial.
I have run Elasticsearch and Kibana via Docker and I have placed FileBeat inside application container where I am writing logs. The problem is that I can't find my logs inside Kibana and I am sure that my filebeat.yml config file is correct.

This is how config file looks:

    path: ${path.config}/prospectors.d/*.yml
    reload.enabled: false
    path: ${path.config}/modules.d/*.yml
    reload.enabled: false

- add_cloud_metadata:

  hosts: ['elasticsearch:9200']
  username: elastic
  password: changeme

- type: log
  enabled: true
  - /var/log/*.log

And I am using Serilog (.NET Core) to write logs on the /var/log/ directory.
When I enter container and go to /var/log I can see my log there, but for some reason, Kibana is not discovering that log.

Does anyone have a clue what am I missing?

Hi, have you set up all the necessary Kibana items, such as index patterns? The documentation has an easy setup command you can use:

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