Hello, I am running into the "common" issue of duplicated JSON fields. I use Splunk Enterprise 9.2, with an Universal Forwarder, an indexer cluster, and a search head cluster. My forwarder as the following configuration files : /opt/splunkforward/etc/system/local/inputs.conf # Forwarder, /opt/splunkforward/etc/system/local/inputs.conf
[batch:///opt/splunk_input/index_d/*]
move_policy = sinkhole
index= index_d
source = index_d
sourcetype = index_d
time_before_close = 0
crcSalt = <SOURCE>
blacklist = \.lock$
/opt/splunkforward/etc/system/local/props.conf [index_d]
# Universal Forwarder, /opt/splunkforward/etc/system/local/props.conf
INDEXED_EXTRACTIONS = JSON
KV_MODE = none
AUTO_KV = false
AUTO_KV_JSON = false On my search head, I directly edited the system file /opt/splunk/etc/system/local/props.conf with the following : [index_d]
# Search Head, /opt/splunk/etc/system/local/props.conf
INDEXED_EXTRACTION = JSON
KV_MODE = none
AUTO_KV = false
AUTO_KV_JSON = false
FIELD_DISCOVERY = false With this configuration, I get duplicated values for all extracted fields. I checked on my search head that those fields are correctly applied, using : splunk btool props list index_d which correctly lists the value from the props.conf file, I would assume those are correctly setup. If i edited directly the local file on the system folder, it was to avoid permissions issues as listed here : https://splunk.my.site.com/customer/s/article/Field-Value-Type-Discrepancies-in-KV-MODE I also tried to run on the search head : [index_d]
# Commenting out the INDEXED_EXTRACTION field on the Search head
# INDEXED_EXTRACTION = JSON
KV_MODE = none
AUTO_KV = false
AUTO_KV_JSON = false
FIELD_DISCOVERY = false But no luck I spent some time reading similar questions about this topic, and sadly no solution tried so far helped me. I happily welcome any suggestion, thank you
... View more