Integration issue with Atlassian Jira on Elastic Agent: Error 404

I'm experiencing an issue with Atlassian Jira integration via Elastic Agent. When the agent tries to process HTTP requests, I am receiving the following error:

[elastic_agent.filebeat][error] Error while processing http request: failed to collect first response: failed to execute http GET: server responded with status code 404: <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Oops, you&#39;ve found a dead link. - JIRA</title>

Steps taken to solve:

  • Validation with curl: I tested the API endpoint using curl and got a correct response, allowing me to rule out issues related to the firewall or the API itself.

*Agent Configuration Check: I checked the Elastic agent configuration, but found no obvious errors in the URL or connection parameters.

Hi @iTiago,

Which versions of the Atlassian Jira Integration and Elasticsearch are you using? Can you please confirm if you are trying to connect to a self-hosted or cloud Jira instance and if you are using the "Jira User Identifier", "Jira API Token" or "PAT" in the integration configuration.

I am using the integration: Atlassian Jira - Elastic Agent Version 1.27.0

collect Jira audit logs via Jira Audit API using API URL, Jira User ID, Jira API Token and Atlassian Cloud is enabled

My agent is v8.11.1

Thanks for confirming. Can you also confirm the Kibana version is 8.13.0 or higher as that's the compatible version for 1.27.0.

It would be useful to see your configuration and see what options are enabled and whether you are trying to connect via logs file path or API (although from your details I suspect you are using the latter). Can you share the configuration please?