AppD Archive

EUEM manual configuration

CommunityUser
Splunk Employee
Splunk Employee

Hi,

We are trying to configure EUEM manually by adding js files in common page of application.

The issue we are facing here is the file which is common in all pages of application is JavaScript file and we are not able to add <script>window['adrum-start-time'] = new Date().getTime();</script><script src="/adrum.js"></script> line in JS file.

It is not able to access adrum.js file.

We have added the adrum.js file in same folder where common JS file is located.

Kindly provide us some way to add the agent string in JS file so that we can configure EUEM.

Regards,

Prasad

0 Karma

Arun_Dasetty
Super Champion

Hi Prasad,

If i understood correctly you have jsp1 , jsp2 like jspx pages and all jsp/html pages uses one common JS file , and you are trying add in JS file, We expect as per doc specs the adrum.js script entry should go inside the <meta> element part of HTML/JSP elements.

Can you please add the line in 2-3 pages you would want to monitor as per syntax and location under head meta tag stated in docs and see how it goes, we understood the adrum.js is already in relative path and file location /file import is not an issue here.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Arun,

Thanks for your reply,

is there any option exist to add adrum.js entry in JS file.

Regards,

Prasad

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Arun,

Can we copy the code from adrum.js file to the common js file?

Will it work in my scenario?

Regards,

Prasad

0 Karma

Arun_Dasetty
Super Champion

Hi Prasad,

As per docs the recommended way is to put under <head> and <meta> puting adrum.js in another js will not work, Hope that answers.

Regards,

Arun

0 Karma
Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...