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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...