Getting Data In
Highlighted

How to change key value pair auto extraction if you are getting stash sourcetype using collect command?

SplunkTrust
SplunkTrust

The stash source type that you get when you use the collect command appears to have key value pair auto extraction off.

Highlighted

Re: How to change key value pair auto extraction if you are getting stash sourcetype using collect command?

SplunkTrust
SplunkTrust

If you want to change that, it just add the following in your props.conf

[stash]
KV_MODE = auto

Alternatively if you pipe any of your searches through the extract command before operating on fields, that will also work.

View solution in original post

Highlighted

Re: How to change key value pair auto extraction if you are getting stash sourcetype using collect command?

Motivator

Is there any possibility to keep the same sourcetype ?

0 Karma