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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...