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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...