Getting Data In

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

starcher
SplunkTrust
SplunkTrust

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

1 Solution

starcher
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

starcher
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.

splunker12er
Motivator

Is there any possibility to keep the same sourcetype ?

0 Karma
Get Updates on the Splunk Community!

Splunk Community Platform Survey

Hey Splunk Community, Starting today, the community platform may prompt you to participate in a survey. The ...

Observability Highlights | November 2022 Newsletter

 November 2022Observability CloudEnd Of Support Extension for SignalFx Smart AgentSplunk is extending the End ...

Avoid Certificate Expiry Issues in Splunk Enterprise with Certificate Assist

This blog post is part 2 of 4 of a series on Splunk Assist. Click the links below to see the other ...