Hi everyone,
I'm trying to get my head around this foreach statement but no luck so far ...
Foreach seems like the most obscure command ever ....
foreach * means everything ... but e...
How come this doesn't work given indexers.csv is a list of Splunk servers with role Indexer?
| inputlookup indexers.csv| rename splunk_server as Indxr| foreach Indxr [search index=_introspection s...
...enerated fields but not having any luck on the foreach section. Any pointers would be much appreciated.
| rest splunk_server=local /servicesNS/-/-/configs/conf-props
| table title EVAL-a...
...s there a more succinct way of doing this? Can one create this list with | foreach to a foreach to create this list? How in splunk can one calculate a list of permutations and force an A...
Hi, I wonder whether someone can help me please.
I've put together the query below using the foreach command, which, although I've read a lot of posts, I've not really used, or if truth be known u...
Hi for some reason fieldformat didn't work with foreach x,y,z. Sometimes it works mostly didn't. Here is same which didn't work in at least our Splunk 7.3.3 or 8.0.5. Any hints is welcome. &n...
...olumn2!= "$drilldown$" OR (Column1= "$single$" AND Column2= "$drilldown$")
| outputlookup Lookup.csv
I have tried to use foreach but it doesn't really work.
Can someone help me with t...
Hi,
Can FOREACH commnad can read text value ? I am having issue to create new columns
foreach IM_* [eval TYPE='<<FIELD>>']
So if columns name are A, B ,C .... I would like to c...