Hi All,
The name of the log file that I need to mention in filebeat.yml is access-202010210000
I tried putting the following but it does not seem to work. Please help:
filebeat.inputs:
- type: log
paths:
- /opt/tables/httpd/instances/https-hap-lok/logs/access-
date +%Y%m%d"0000"
Thanks
I noticed that in the log, it displays the filename not as expected:
''
2020-10-22T11:53:44.827-0400 INFO log/input.go:152 Configured paths: [/opt/tables/httpd/instances/https-hap-lok/logs/access-date +%Y%m%d"0000"]
2020-10-22T11:53:44.827-0400 INFO input/input.go:114 Starting input of type: log; ID: 15116257133981467565
2020-10-22T11:53:44.827-0400 INFO crawler/crawler.go:106 Loading and starting Inputs completed. Enabled inputs: 1
2020-10-22T11:53:44.827-0400 DEBUG [input] log/input.go:191 Start next scan
''