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!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...