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!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...