I'm running into issues while implementing the Custom API integration which sends API get requests. I have setup successfully other integrations using the Custom Logs integration, however, the Custom API integration doesn't work for me. These are some of the details:
- I'm using basic authentication.
- The output of the API call doesn't need pagination
- The agent that the integration is running on is able to reach the API URL
- Certs from the application server are valid.
Can someone advise what I'm missing?
These are the log errors:
16:07:24.271 elastic_agent.filebeat [elastic_agent.filebeat][error] request failed 16:07:24.271 elastic_agent.filebeat [elastic_agent.filebeat][error] Error while processing http request: failed to execute rf.collectResponse: failed to execute http client.Do: failed to execute http client.Do: Get "https://myserver:1111/api/something": GET https://myserver:1111/api/something giving up after 6 attempts