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!

Buttercup Games Tutorial Extension - part 9

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Buttercup Games Tutorial Extension - part 8

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Introducing the Splunk Developer Program!

Hey Splunk community! We are excited to announce that Splunk is launching the Splunk Developer Program in ...