Hello,
Agent is installed as root.
When i try to see logs from the kibana its shows 0 logs
When i check the status of the agent i see that fleet-server is stuck at re-configuring
Applications:
- filebeat (HEALTHY)
Running
- metricbeat (HEALTHY)
Running
- fleet-server (CONFIGURING)
Re-configuring
- filebeat_monitoring (HEALTHY)
Running
- metricbeat_monitoring (HEALTHY)
Running
- apm-server (HEALTHY)
Running
I've collected diagnostics errors i've found are as follows.
Fleet-Server error:
{"log.level":"error","ecs.version":"1.6.0","service.name":"fleet-server","error.message":"close tcp [::]:8220: use of closed network connection","@timestamp":"2022-11-02T06:52:43.026Z","message":"error while closing listener."}
Agent Errors:
{"log.level":"error","@timestamp":"2022-11-02T06:52:46.060Z","log.origin":{"file.name":"process/stdlogger.go","file.line":54},"message":"fleet-server stderr: \"{\\\"level\\\":\\\"info\\\",\\\"time\\\":\\\"2022-11-02T06:52:46Z\\\",\\\"message\\\":\\\"No applicable limit for 0 agents, using default.\\\"}\\n{\\\"level\\\":\\\"info\\\",\\\"time\\\":\\\"2022-11-02T06:52:46Z\\\",\\\"message\\\":\\\"No applicable limit for 0 agents, using default.\\\"}\\n\"","agent.console.name":"fleet-server","agent.console.type":"stderr","ecs.version":"1.6.0"}
{"log.level":"error","@timestamp":"2022-11-02T06:52:43.527Z","log.origin":{"file.name":"process/app.go","file.line":290},"message":"failed to stop fleet-server: os: process already finished","ecs.version":"1.6.0"
{"log.level":"error","@timestamp":"2022-11-02T06:54:46.983Z","log.origin":{"file.name":"process/stdlogger.go","file.line":54},"message":"filebeat_monitoring stderr: \"panic: close of closed channel\\n\\ngoroutine 182 [running]:\\ngithub.com/elastic/beats/v7/filebeat/beater.(*Filebeat).Stop(0xc000d92660)\\n\\t/go/src/github.com/elastic/beats/filebeat/beater/filebeat.go:436 +0x46\\ngithub.com/elastic/beats/v7/libbeat/cmd/instance.(*Beat).launch.func5()\\n\\t/go/src/github.com/elastic/beats/libbeat/cmd/instance/beat.go:461 +0x68\\nsync.(*Once).doSlow(0xc0008209f0, 0xc000833ca0\"","agent.console.name":"filebeat_monitoring","agent.console.type":"stderr","ecs.version":"1.6.0"}
Thanks In Advance. Have a nice day!