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.
apm-server.rum.allow_headers: ["header1", "header2"]
Also added Install the RUM agent with HTML configuration in application HTML .
Please suggest which path need to be mention in below line
Pls suggest possible troubleshooting steps for the same.
We r running Kibana on Premise.
Hi @gauravraje, thanks for reaching out!
I have a couple of questions:
In the fetch/xhr tab in the network tab of your browser devtools you should see something such as
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:
<script src="https://<your-cdn-host>.com/path/to/elastic-apm-rum.umd.min-<version>.js" crossorigin></script>
<instrumented-app> is the value you have in
<apm-server-url> is the value you should have in
More info about that here.
Have couple of questions,
- Do you see any errors on the console? If yes, can you also give us the debug logs by setting
logLevel: debug in the agent configuration
- Do you mean Kibana dashboard? You can see RUM data on APM or User Experience application dashboard.
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.