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!

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