Dashboards & Visualizations

Navigation Menu xml Match Help

I-Man
Communicator

In the Default Search Nav Menu I am trying to match all of my Active Directory reports so they are Nested in "AD Reports". All of the reports start with "AD ". The issue i'm running into is that other reports that have "AD " are matching such as "Dead Hosts".

<collection label="AD Reports">
  <saved source="unclassified" match="AD " />
</collection>

I searched for anything about xml and match but could not find any rules or ways to use regex. Any ideas about how to specify a match?

Similar to a question asked by Glenn, what characters are we allowed to use to specify the match?:

http://answers.splunk.com/questions/4288/is-it-possible-to-match-views-in-app-menu-using-wildcards-o...

1 Solution

gkanapathy
Splunk Employee
Splunk Employee

The match is a simple case-insensitive substring match, so unfortunately no regex or anything else special is available here.

View solution in original post

brettcave
Builder

Until regex matching is brought in, the next-best approach would probably be changing your naming convention, like starting all reports with _ and then matching on "_AD ".

not the most elegant solution, but might work.

0 Karma

brettcave
Builder

and on playing with this, when matching, it matches on the name of a view, not the display name, so you could rename all your views to __ad__foo and leave the display name as "AD Foo"

0 Karma

Starlette
Contributor

This sounds like a mod request? ( to use regex)

brettcave
Builder

+1000 on this!

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

The match is a simple case-insensitive substring match, so unfortunately no regex or anything else special is available here.

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...