Dashboards & Visualizations

Filter hosts in

karthik7411
New Member

hi,
i would like to filter windows and linux hosts in my app using populatingsearch tag. all windows hosts' name starts with sq9 and linux with CARD. can anybody tell me the logic to filter these hosts in tag??

Tags (1)
0 Karma

karthik7411
New Member

@Iguinn: Thanks for helping me out but im am looking for the regex expression to differentiate between two name like SA8DABCDR01 and CARDS_A8D_ABC...

0 Karma

lguinn2
Legend
<populatingSearch fieldForValue="host" fieldForLabel="host">
    host=sq9* OR host=card* | fields host | dedup host
</populatingSearch>

Is this what you were looking for??

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