Refine your search:

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-or-multiple-match-stri

asked 17 Mar '11, 20:13

I-Man's gravatar image

I-Man
2073319
accept rate: 24%


3 Answers:

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

link

answered 17 Mar '11, 20:24

gkanapathy's gravatar image

gkanapathy ♦
32.4k4827
accept rate: 41%

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.

link

answered 15 May, 01:58

brettcave's gravatar image

brettcave
35319
accept rate: 29%

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"

(15 May, 02:15) brettcave

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

link

answered 19 Jul '11, 07:47

Starlette's gravatar image

Starlette
4632327
accept rate: 9%

+1000 on this!

(15 May, 01:55) brettcave
Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×66
×36
×11

Asked: 17 Mar '11, 20:13

Seen: 2,438 times

Last updated: 15 May, 02:17

Copyright © 2005-2012 Splunk Inc. All rights reserved.