Dashboards & Visualizations

Is it possible to match views in app menu using wildcards, or multiple match strings?

Glenn
Builder

I'm trying to create a menu structure for my app that can be dynamically populated. To do this, I was hoping to use the view source="all" match="blah" syntax.

This of course works when matching a simple substring of the view name, but I would like to take advantage of a naming convention in view names to split the menu in multiple ways.

For example, I have:

igpci_pattern07_WLSaccess_WL10_prod igpci_pattern07_WLSaccess_WL10_demo igpci_pattern07_RSTaccess_prod igpci_pattern07_RSTaccess_demo

I'd like to take advantage of both the WLS/RST (app abbreviation) and the prod/demo parts (environment) to build the menu like this:

<collection label="Log samples - pattern matching - By app">
  <collection label="Restful/Tomcat Prod">
    <view source="all" match="RST*prod"/>
  </collection>
  <collection label="Restful/Tomcat Demo">
    <view source="all" match="RST*demo"/>
  </collection>
  <collection label="Weblogic Prod">
    <view source="all" match="WLS*prod"/>
  </collection>
  <collection label="Weblogic Demo">
    <view source="all" match="WLS*demo"/>
  </collection>
</collection>

This method results in no matches, and another attempt I made just to add another match key/value didnt either (I didnt expect it to).

Is there a way to achieve this short of specifying each view individually? (I have LOADS of them).

Tags (3)
0 Karma
1 Solution

I-Man
Communicator

Thats a negative ghostrider. Simple case insensitive matching with no special characters.

http://answers.splunk.com/questions/12744/navigation-menu-xml-match-help/12745#12745

View solution in original post

I-Man
Communicator

Thats a negative ghostrider. Simple case insensitive matching with no special characters.

http://answers.splunk.com/questions/12744/navigation-menu-xml-match-help/12745#12745

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...