Dashboards & Visualizations

tokenlinks.js in Splunk 8.24 broken- working dashboard samples app but not my own app

bowesmana
SplunkTrust
SplunkTrust

I used to use the tokenlinks.js from the simple xml dashboard examples. Copied the file into appserver/static of my own app, add the script="tokenlinks.js" and all works.

For some reason that no longer works. I have downloaded the dashboard examples app, copied the dashboard XML shown in the docs for the Custom Token Links example. Copied the JS shown in the gui into the appserver/static/tokenlinks.js into my own app, but the JS does not seem to get called and the dashboard does not do what it does in the Example Dashboard app.

So, I have a working dashboard examples app, but not my own app.

I see that the tokenlinks.js in appserver/static for the dashboard examples is now >400K and is very different to the original. It seems to be some webpack related stuff.

Any idea what I am doing wrong?

 

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Streamline Data Ingestion With Deployment Server Essentials

REGISTER NOW!Every day the list of sources Admins are responsible for gets bigger and bigger, often making the ...

Remediate Threats Faster and Simplify Investigations With Splunk Enterprise Security ...

REGISTER NOW!Join us for a Tech Talk around our latest release of Splunk Enterprise Security 7.2! We’ll walk ...

Introduction to Splunk AI

WATCH NOWHow are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. ...