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!

The Splunk Success Framework: Your Guide to Successful Splunk Implementations

Splunk Lantern is a customer success center that provides advice from Splunk experts on valuable data ...

Splunk Training for All: Meet Aspiring Cybersecurity Analyst, Marc Alicea

Splunk Education believes in the value of training and certification in today’s rapidly-changing data-driven ...

Investigate Security and Threat Detection with VirusTotal and Splunk Integration

As security threats and their complexities surge, security analysts deal with increased challenges and ...