Splunk Search

Why `where match(...)` but not `search match(...)`?

pm771
Communicator

What is the difference between `... | when match(a,b)` and `...| search match(a,b)`?

Why in such cases `when` works and `search` does not? 

Tags (2)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

I hope that this link helps you

https://community.splunk.com/t5/Splunk-Search/What-s-the-difference-between-where-and-search-in-the-...

If not there are quite many other explanations what are the difference between search and where, which you could found by google. 
Basically search are using for search and where is using for expressions. 
r. Ismo

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...