# RUM Not reporting Data on Kibana

**URL:** https://discuss.elastic.co/t/rum-not-reporting-data-on-kibana/293123
**Category:** APM
**Tags:** rum
**Created:** [December 29, 2021, 1:33pm UTC](https://discuss.elastic.co/t/rum-not-reporting-data-on-kibana/293123 "2021-12-29T13:33:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![gauravraje](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gauravraje](https://discuss.elastic.co/u/gauravraje)
#### Post date: [December 29, 2021, 1:33pm UTC](https://discuss.elastic.co/t/rum-not-reporting-data-on-kibana/293123/1 "2021-12-29T13:33:25Z")

</div>

Team,

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.enabled: true  
apm-server.auth.anonymous.rate\_limit.event\_limit: 300  
apm-server.auth.anonymous.rate\_limit.ip\_limit: 1000  
apm-server.auth.anonymous.allow\_service: [your\_service\_name]  
apm-server.rum.allow\_origins: ['_']  
apm-server.rum.allow\_headers: ["header1", "header2"]  
apm-server.rum.library\_pattern: "node\_modules|bower\_components|~"  
apm-server.rum.exclude\_from\_grouping: "^/webpack"  
apm-server.rum.source\_mapping.enabled: true  
apm-server.rum.source\_mapping.cache.expiration: 5m  
apm-server.rum.source\_mapping.index\_pattern: "apm-_-sourcemap\*"

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.

---

<div class="post-metadata">

### Author: ![Alberto\_Delgado](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alberto_delgado/32/98488_2.png) [@Alberto\_Delgado](https://discuss.elastic.co/u/Alberto_Delgado)
#### Post date: [December 30, 2021, 11:15am UTC](https://discuss.elastic.co/t/rum-not-reporting-data-on-kibana/293123/2 "2021-12-30T11:15:07Z")

</div>

Hi @gauravraje, thanks for reaching out!

I have a couple of questions:

- 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](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](https://www.elastic.co/guide/en/apm/agent/rum-js/5.x/configuring-cors.html)

When it comes to the HTML configuration you could use something such as:

```auto
<script src="https://<your-cdn-host>.com/path/to/elastic-apm-rum.umd.min-<version>.js" crossorigin></script>
<script>
  elasticApm.init({
    serviceName: '<instrumented-app>',
    serverUrl: '<apm-server-url>',
  })
</script>

```

where `<instrumented-app>` is the value you have in `apm-server.auth.anonymous.allow_service`

and where `<apm-server-url>` is the value you should have in `apm-server.host`

More info about that [here](https://www.elastic.co/guide/en/apm/agent/rum-js/5.x/install-the-agent.html).

---

<div class="post-metadata">

### Author: ![vigneshshanmugam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vigneshshanmugam/32/40324_2.png) [@vigneshshanmugam](https://discuss.elastic.co/u/vigneshshanmugam)
#### Post date: [January 4, 2022, 5:03pm UTC](https://discuss.elastic.co/t/rum-not-reporting-data-on-kibana/293123/3 "2022-01-04T17:03:40Z")

</div>

@gauravraje

Have couple of questions,

1. 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
2. Do you mean Kibana dashboard? You can see RUM data on APM or User Experience application dashboard.

Thanks,  
Vignesh

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [January 25, 2022, 1:04pm UTC](https://discuss.elastic.co/t/rum-not-reporting-data-on-kibana/293123/4 "2022-01-25T13:04:32Z")

</div>

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