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’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...