Getting Data In

How to ingest a selection of JSON fields?

PeraltaRH
Explorer

I have a dump.json file that collects events in JSON format:
{"key":"value","key":"value","key":"value","key":"value"....}

I have no problem processing it however each line has 400 Keys and I only need 30 of them in splunk.

How can I tell the Universal forwarder to only send those 30 fields to my Indexers?
Ingesting all the 400 fields consumes a lot of resources and license.

Labels (2)
Tags (2)
0 Karma

isoutamo
SplunkTrust
SplunkTrust
Hi

With UF I suppose that the easiest way is use modify the producer so that it writes only those needed events on that json. I suppose that there is some program which continuously writes this file one event per line?

With HF, you could use props and transforms for get ride of unwanted values.

r. Ismo
0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...