Splunk Search

How to use wildcard characters in Splunk search?

chetanhonnavile
Explorer

How do i use wildcard characters in my Splunk search?

For example : i am looking for only 4xx http errors .

index=my_index host=host123  "dummy-web.com" http_status_code=4XX 

in regex i can use 4.. or 4.* ..but how do i use in Splunk?

0 Karma

woodcock
Esteemed Legend

Like this:

 index="my_index" host="host123" "dummy-web.com" http_status_code="4*"
0 Karma

skoelpin
SplunkTrust
SplunkTrust

Try this

index=my_index host=host123 "dummy-web.com" http_status_code=4*

Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...