Quantcast
Channel: Questions in topic: "universal-forwarder"
Viewing all articles
Browse latest Browse all 1551

how to get rid of json getting wrapped inside "event" field

$
0
0
I am trying to send json format data from consuming from kafka to splunk forwarders over tcp.. - If I send json data from kafka {"a": "b"} over tcp (I have a module that sends json to tcp on port 9999) - which will be consumed by universal forwarder - and then send this data to splunk, when I search this data on splunk it shows up as {"event":{"a":"b"}} **Why json is getting wrapped inside "event" ? how to avoid it ?** splunkforwarder/etc/system/local/inputs.conf [tcp://9999] disabled = 0 _TCP_ROUTING = index1 sourcetype = fromLocal splunkforwarder/etc/system/local/outputs.conf [tcpout:index1] server=xx.xxx.xxx.xxx:9997 Splunk version: 6.6.2 UniversalForwarder version: 6.6.2

Viewing all articles
Browse latest Browse all 1551

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>