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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...