Dashboards & Visualizations

create a macro with token value using js and i can use that macro in different dashboards also

harishalipaka
Motivator

Hi dudes,

I have run a query in one dashboard based on that result created a token.
Now i want to create a macro with that token results using java script or jquery.

Note:- I have to access that macro in diff dashboards also.

Thanks in advance.

Thanks
Harish
0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@harishalipaka

What I understand, You want to set a token from Dashboard A and want to use that token in Other Dashboards. Is it?

0 Karma

harishalipaka
Motivator

yes @kamlesh same thing on that way.

that is also ok.or instead of token create a macro with that token and use in other dashboards

Thanks
Harish
0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...