Hi Mark, thanks for your reply!
Sorry for such a long answer, it was night here
I don't really know what logs you are waiting for, so I will put here everything that Filebeat ouputs
in /var/log/filebeat/filebeat and /var/log/filebeat/filebeat.1 there are the same two strings:
2021-11-19T12:44:50.158Z INFO instance/beat.go:665 Home path: [/usr/share/filebeat] Config path: [/etc/filebeat] Data path: [/var/lib/filebeat] Logs path: [/var/log/filebeat]
2021-11-19T12:44:50.160Z INFO instance/beat.go:673 Beat ID: 4559f684-2e7f-4ae2-b28c-0c2884bb4218
systemctl status filebeat outputs:
Nov 22 09:10:02 mon-log filebeat[321304]: 2021-11-22T09:10:02.401Z DEBUG [input] input/input.go:139 Run input
Nov 22 09:10:02 mon-log filebeat[321304]: 2021-11-22T09:10:02.401Z DEBUG [input] log/input.go:215 Start next scan {"input_id": "265eeb58-0274-4cd7-a9c3-7d46669d2adb"}
Nov 22 09:10:02 mon-log filebeat[321304]: 2021-11-22T09:10:02.401Z DEBUG [input] log/input.go:279 input states cleaned up. Before: 0, After: 0, Pending: 0 {"input_id": "265eeb58-0274-4cd7-a9c3-7d46669d2adb"}
Nov 22 09:10:12 mon-log filebeat[321304]: 2021-11-22T09:10:12.402Z DEBUG [input] input/input.go:139 Run input
Nov 22 09:10:12 mon-log filebeat[321304]: 2021-11-22T09:10:12.402Z DEBUG [input] log/input.go:215 Start next scan {"input_id": "265eeb58-0274-4cd7-a9c3-7d46669d2adb"}
Nov 22 09:10:12 mon-log filebeat[321304]: 2021-11-22T09:10:12.402Z DEBUG [input] log/input.go:279 input states cleaned up. Before: 0, After: 0, Pending: 0 {"input_id": "265eeb58-0274-4cd7-a9c3-7d46669d2adb"}
Nov 22 09:10:22 mon-log filebeat[321304]: 2021-11-22T09:10:22.403Z DEBUG [input] input/input.go:139 Run input
Nov 22 09:10:22 mon-log filebeat[321304]: 2021-11-22T09:10:22.403Z DEBUG [input] log/input.go:215 Start next scan {"input_id": "265eeb58-0274-4cd7-a9c3-7d46669d2adb"}
Nov 22 09:10:22 mon-log filebeat[321304]: 2021-11-22T09:10:22.403Z DEBUG [input] log/input.go:279 input states cleaned up. Before: 0, After: 0, Pending: 0 {"input_id": "265eeb58-0274-4cd7-a9c3-7d46669d2adb"}
Nov 22 09:10:23 mon-log filebeat[321304]: 2021-11-22T09:10:23.847Z INFO [monitoring] log/log.go:184 Non-zero metrics in the last 30s {"monitoring": {"metrics": {"beat":{"cgroup":{"cpuacct":{"total":{"ns":8028099}}},"cpu":{"system":{"ticks":11120,"time":{"ms":5}},"total":{"ticks":30100,"time":{"ms":10},"value":30100},"user":{"ticks":18980,"time":{"ms":5}}},"handles":{"limit":{"hard":524288,"soft":1024},"open":11},"info":{"ephemeral_id":"ef987479-1c1e-4215-aa17-c47256968419","uptime":{"ms":77223078},"version":"7.15.2"},"memstats":{"gc_next":19876992,"memory_alloc":12002136,"memory_total":3150127944,"rss":112156672},"runtime":{"goroutines":29}},"filebeat":{"harvester":{"open_files":0,"running":0}},"libbeat":{"config":{"module":{"running":0}},"output":{"events":{"active":0}},"pipeline":{"clients":1,"events":{"active":0}}},"registrar":{"states":{"current":0}},"system":{"load":{"1":0.02,"15":0.08,"5":0.08,"norm":{"1":0.01,"15":0.04,"5":0.04}}}}}}
When I also started filebeat setup -e there were a lot of messages about dashboards set up in Kibana, but I couldn't see anything about logs.