|
Out of the box, the unix Just for the sake of an example. Say I'm using the following unix command to filter out comment lines (lines starting with a ";"). (Technically, this example only clears the comment lines rather than remove them, "grep" would be more obvious choice of unix commands, but splunk doesn't have a
Will that work the same way as the following
|
|
splunk's SEDCMD works with one event at a time That's what I was suspecting. I found you can make it work line-by-line by using multi-line regex mode. (I added an answer of my own with an example.)
(02 Jul '10, 19:19)
Lowell ♦
|
|
To get the
The difference is:
Note that Splunk's
(02 Jul '10, 20:41)
gkanapathy ♦
@gkanapathy, very good point. (Yeah, strait sed-style regex are a pain once you've gotten use to a powerful regex engine. I normally end up using the
(02 Jul '10, 21:16)
Lowell ♦
|
