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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...