I am having the issue that filebeat (7.8) somehow 'ingores' my folder structure.
This is the part of the filebeat.yml related to the folder structure:
- type: log
paths:
- "/folder1/folder2/folder3/logs/app1/app1_*/*/*/*.log"
ignore_older: 360h
fields:
index_suffix: "log-app1"
location: mtc
clustername: clustername
stage: production
multiline.pattern: '^\[[0-9]{4}-[0-9]{2}-[0-9]{2}'
multiline.negate: true
multiline.match: after
Is there maybe a limit to the folder tree size, because the "app1_*" has more than 1000 folder, and everyone of them has his own subfolders.
journalctl snippet:
...
Oct 08 08:59:53 smtca01489 filebeat[44048]: 2021-10-08T08:59:53.545+0200 INFO log/input.go:152 Configured paths: [/folder1/folder2/folder3/logs/app1/app1_*/*/*/*.log]
Oct 08 08:59:53 smtca01489 filebeat[44048]: 2021-10-08T08:59:53.545+0200 INFO [crawler] beater/crawler.go:141 Starting input (ID: %d)3335666929714024466
Oct 08 09:00:03 smtca01489 filebeat[44048]: 2021-10-08T09:00:03.328+0200 INFO log/input.go:722 input outlet closed
Oct 08 09:00:03 smtca01489 filebeat[44048]: 2021-10-08T09:00:03.328+0200 ERROR log/input.go:487 Updating ignore_older state error: input outllet closed
Oct 08 09:00:03 smtca01489 filebeat[44048]: 2021-10-08T09:00:03.328+0200 INFO log/input.go:722 input outlet closed
Oct 08 09:00:03 smtca01489 filebeat[44048]: 2021-10-08T09:00:03.328+0200 ERROR log/input.go:487 Updating ignore_older state error: input outllet closed
Oct 08 09:00:03 smtca01489 filebeat[44048]: 2021-10-08T09:00:03.328+0200 INFO log/input.go:722 input outlet closed
Oct 08 09:00:03 smtca01489 filebeat[44048]: 2021-10-08T09:00:03.328+0200 ERROR log/input.go:487 Updating ignore_older state error: input outllet closed
...