Hello, I am currently working on sending alert data from our LogicMonitor tenant to Elastic but i’m running into a few issues that I could use help with. To start, I selected the “Custom HTTP Endpoint Logs” integration option in Elastic, created an integration policy and installed an agent onto my computer for testing. I then went to the “Connection Details” in the upper right hand corner when this integration is selected and grabbed the link for the “Elasticsearch endpoint”.
I put all of that information into LogicMonitors custom HTTP integration and have it set to send a POST but I keep getting back a 405 error message from Elastic which says “"error": "Incorrect HTTP method for uri [/] and method [POST], allowed: [GET, DELETE, HEAD]",
"status": 405”. Even though on the front page of the customer http endpoint integration says it only accepts POST. I did change it to a GET but then the payloads empty from LM when I do so and I nor the AI assistant can find any alert data under the discover tab.
The URL in the above screenshot was the “Elasticsearch endpoint” connection details I saw in elastic, so I figured that would be the URL used to send the alert data to the agent. Otherwise I dont know how else to route it to that agent.
You need to send the data to the Elastic Agent, so you will need to expose your Elastic Agent host and port to the internet in some way to receive data from LogicMonitor.
Is there anyway to ingest data without the agent? We’re hoping to go agentless and use an API query eventually. We just werent sure which query would be the best to use. Also, thank you for the assistance, it’s appreciated
Does LogicMonitor has any native integration to Elasticsearch? Like, can it send the data in the format Elasticsearch expects? If it does not have any native way to send data to Elasticsearch, then you need an Agent to receive the data and format it in the way Elasticsearch is expecting.
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.