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 | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...