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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...