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!

Observability Highlights | January 2023 Newsletter

 January 2023New Product Releases Splunk Network Explorer for Infrastructure MonitoringSplunk unveils Network ...

Security Highlights | January 2023 Newsletter

January 2023 Splunk Security Essentials (SSE) 3.7.0 ReleaseThe free Splunk Security Essentials (SSE) 3.7.0 app ...

Platform Highlights | January 2023 Newsletter

 January 2023Peace on Earth and Peace of Mind With Business ResilienceAll organizations can start the new year ...