Unable to send data to elasticsearch from apm server?

Unable to send data to elasticsearch but connection is eshtablished, all elasticsearch, kibana, apm server are upto date.(version :- 7.0.0)
Provide logs and/or server output (if relevant):

2019-05-03T13:32:17.425+0530 INFO pipeline/output.go:95 Connecting to backoff(elasticsearch(http://ec2-*****:9200))
2019-05-03T13:32:19.123+0530 INFO elasticsearch/client.go:734 Attempting to connect to Elasticsearch version 7.0.0
2019-05-03T13:32:19.618+0530 INFO template/load.go:129 Template already exists and will not be overwritten.
2019-05-03T13:32:19.619+0530 INFO [index-management] idxmgmt/supporter.go:196 Loaded index template.
2019-05-03T13:32:19.626+0530 INFO pipeline/output.go:105 Connection to backoff(elasticsearch(http://ec2-
:9200)) established
2019-05-03T13:32:48.144+0530 ERROR [request] beater/common_handler.go:299 error handling request {"request_id": "85c353ee-eeb4-47c6-96db-7fddfcbc672d", "method": "OPTIONS", "URL": "/intake/v2/rum/events", "content_length": 0, "remote_address": "127.0.0.1", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36", "response_code": 403, "error": {"error":"forbidden request: endpoint is disabled"}}
2019-05-03T13:32:50.921+0530 ERROR [request] beater/common_handler.go:299 error handling request {"request_id": "e595dd17-96e5-42fd-9bcc-9b2d78c494e5", "method": "OPTIONS", "URL": "/intake/v2/rum/events", "content_length": 0, "remote_address": "127.0.0.1", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36", "response_code": 403, "error": {"error":"forbidden request: endpoint is disabled"}}
2019-05-03T14:24:16.819+0530 ERROR [request] beater/common_handler.go:299 error handling request {"request_id": "d44c8037-177b-4b8e-a80a-44bba7a783fb", "method": "OPTIONS", "URL": "/intake/v2/rum/events", "content_length": 0, "remote_address": "127.0.0.1", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36", "response_code": 403, "error": {"error":"forbidden request: endpoint is disabled"}}
2019-05-03T14:24:18.831+0530 ERROR [request] beater/common_handler.go:299 error handling request {"request_id": "6815f0ab-ba1e-47af-aad8-4a71a0569414", "method": "OPTIONS", "URL": "/intake/v2/rum/events", "content_length": 0, "remote_address": "127.0.0.1", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36", "response_code": 403, "error": {"error":"forbidden request: endpoint is disabled"}}
2019-05-03T14:24:22.652+0530 ERROR [request] beater/common_handler.go:299 error handling request {"request_id": "ab8c121d-6d22-4cc1-99c0-3bb94e57b01d", "method": "OPTIONS", "URL": "/intake/v2/rum/events", "content_length": 0, "remote_address": "127.0.0.1", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36", "response_code": 403, "error": {"error":"forbidden request: endpoint is disabled"}}
2019-05-03T14:24:27.179+0530 ERROR [request] beater/common_handler.go:299 error handling request {"request_id": "06ade643-5f69-40af-b87f-4d18404971bf", "method": "OPTIONS", "URL": "/intake/v2/rum/events", "content_length": 0, "remote_address": "127.0.0.1", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36", "response_code": 403, "error": {"error":"forbidden request: endpoint is disabled"}}
2019-05-03T14:24:27.895+0530 ERROR [request] beater/common_handler.go:299 error handling request {"request_id": "c9224b4b-e1f8-4768-9a91-b81679ca782c", "method": "OPTIONS", "URL": "/intake/v2/rum/events", "content_length": 0, "remote_address": "127.0.0.1", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36", "response_code": 403, "error": {"error":"forbidden request: endpoint is disabled"}}
2019-05-03T14:24:34.245+0530 ERROR [request] beater/common_handler.go:299 error handling request {"request_id": "5c56b187-37d0-4b16-973d-ceb17f9629bd", "method": "OPTIONS", "URL": "/intake/v2/rum/events", "content_length": 0, "remote_address": "127.0.0.1", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36", "response_code": 403, "error": {"error":"forbidden request: endpoint is disabled"}}
2019-05-03T14:24:37.192+0530 ERROR [request] beater/common_handler.go:299 error handling request {"request_id": "36864b2f-a804-4033-beaf-928160b609ec", "method": "OPTIONS", "URL": "/intake/v2/rum/events", "content_length": 0, "remote_address": "127.0.0.1", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36", "response_code": 403, "error": {"error":"forbidden request: endpoint is disabled"}}

Hi and thanks for your question. Seems like you have to enable the rum endpoint: https://www.elastic.co/guide/en/apm/server/current/configuration-rum.html

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.