All Apps and Add-ons

SPLUNK nmon: Is it possible to have "OR" condition for "Optional: Filter hosts populating"?

samstar
Engager

Hi there,

Seems it not accept regex. I have tried , : ; and so on.

hosta* | hostb*

is it possible to have 2 filters by or condition?

Thanks

0 Karma
1 Solution

guilmxm
Influencer

Hello !

The optional filter input is a simple input text box which is designed to be used for filtering server names available upon selection.

It acts as a implicit "AND" boolean condition in addition with the "host" multiselect / dropdown forms, such that the query will be defined as:

<query> host=$host-filter$ $host$ 

In its design, the purpose is having a free text filter which you can use depending on the server naming convention, let's say that you use "lp*" for Linux Production servers, using this in the free form filter would populate the host form with only the relevant servers.

I will think about that and check how it could be improved without adding too much complexity in the design of the interfaces 😉

Kind regards,

Guilhem

View solution in original post

0 Karma

samstar
Engager

thanks Guilhem

0 Karma

guilmxm
Influencer

Hello !

The optional filter input is a simple input text box which is designed to be used for filtering server names available upon selection.

It acts as a implicit "AND" boolean condition in addition with the "host" multiselect / dropdown forms, such that the query will be defined as:

<query> host=$host-filter$ $host$ 

In its design, the purpose is having a free text filter which you can use depending on the server naming convention, let's say that you use "lp*" for Linux Production servers, using this in the free form filter would populate the host form with only the relevant servers.

I will think about that and check how it could be improved without adding too much complexity in the design of the interfaces 😉

Kind regards,

Guilhem

0 Karma
Get Updates on the Splunk Community!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...