what if your remove the spath command from your search? It seems to me like you already have those fields being extracted in some other way, so why do it again with spath?
Also, it's important to understand what those settings to as well.
KV_MODE
happens at search time. Can be set to a handful of values. When set to none, splunk will do not perform search time field extractions on your behalf. It defaults to auto, which will extract = pairs
AUTO_KV_JSON
happens at search time . It will try to automatically extract json fields from events. Defaults to true
INDEXED_EXTRACTIONS
configured at input time. Will create indexed fields - meaning, these fields are indexed with the data, not created at search time. Modifying this setting will have no impact on data that has already been ingested into Splunk.
My guess is that those fields are being indexed, so they will already exist with your data. And then you use spath in your search, which extracts them again. But it's hard to know for sure w/o knowing what your splunk environment looks like, how you're ingesting the data, etc.
And in general, it's probably a good idea to understand the phases of data in Splunk. Even in a one-server environment, knowing which settings apply to which phase and what that means will be extremely helpful
... View more