Dashboards & Visualizations

Avoid macro expansion

FRoth
Contributor

I defined a huge search macro and use it in some of my panels. (used this to define a lot of false positives like "xxx" OR "yyy" OR ...)
Now - every time someone clicks the panel cell or row the macro gets expanded and fills half of the screen.
Is there a way to avoid the expansion and still see the macro name on clicks in panels?

0 Karma

jtrucks
Splunk Employee
Splunk Employee

If you are using a saved search, check the nosubstitution in the savedsearch command.

--
Jesse Trucks
Minister of Magic

FRoth
Contributor

Ahhh - worse. Those are "| pivot" panels.

0 Karma

FRoth
Contributor

Are there savedsearches in splunk 6 panels? All my panel searches are inline searches. I'll check if I can save most of them and use them from the panels, thanks.

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 ...