It depends on the kind of verb you use.
If there is no pipeline character first, then the implied verb is "search". Every other verb which is a "generating command" requires the pipeline character before the verb.
Mason - The phrase "all search commands" is ambiguous and might mislead some readers... especially since the implicit
search at the start of any search query is the main exception...
Splunk Docs and the Quick Reference Guide all say, "search commands", so I believe I am using proper nomenclature here.
Below is the search query I extracted from Enterprise Security:
| tstats allowoldsummaries=true count as changecount from datamodel=ChangeAnalysis.AllChanges by AllChanges.user,AllChanges.changetype |
drop_dm_object_name("All_Changes") | xswhere changecount from changecountbyuserbychangetype1d in changeanalysis by changetype is above high
From my understanding, some data is search and then pipeline to "generating command". So, what is being passed as argument from the above search query ? I mean the pipeline being putting as the first character. Or it is just the correct syntax to use splunk ?