I installed an agent on a virtual machine to collect PostgreSQL logs through integration. The log paths are correct, and everything seems to be healthy.
However, the logs are not being sent to ELK, and no data stream is being created.
Check if the VM can connect to the output, from what you described your agent cannot reach the configured output.
The healthy of the agent is only relative to the Fleet Server and if the integrations are running without issue, it does not take into consideration the communicaton from the agent to the configured output.
For example, if your output is Elasticsearch and your agent cannot reach Elasticsearch, but can reach the Fleet Server, it will appear as healthy, but you will have no data (also will not be able to get a diagnostic remotely).
You will need to check the log file directly in the server.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.