We have added the below options in the apm-server.rum section of the apm-server.yml config file to enable RUM Agent ,but its not reporting data back to the dashboard.
Which version of the Elastic Stack and rum agent are you running?
Are you seeing your web application sending events to the apm server?
In the fetch/xhr tab in the network tab of your browser devtools you should see something such as intake/v2/rum/events or intake/v3/rum/events. If so, what is the response status code?
On the other hand, in the configuration I'm seeing that the allow_origins configuration is empty, with the configuration set on this way the apm-server the browser is going to show up a CORS error.
The value of that configuration should contain the origin of your web (or webs). Let's image your website url is "https://www.example.com", the value for the configuration should be apm-server.rum.allow_origins: ['https://www.example.com']. More info about this here
When it comes to the HTML configuration you could use something such as:
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.