Getting Data In

Why does INDEXED_EXTRACTIONS=JSON not extract all fields from our JSON data?

moneybox
Explorer

Hello,

We are trying to index long JSON files. Each JSON file is one event.
As performance is more important to us than storage space, we wish to extract all JSON fields at index-time.
We tried to use the INDEXED_EXTRACTIONS=JSON configuration, but it seems that it does not extract all the available JSON fields
(For example, there are many fields missing from the "Interesting Fields" section).

We conducted some tests, and were successful in extracting ALL fields using KV_MODE=JSON , but it's no good for us because of the aforementioned performance issues.

How can we make Splunk indexer extract all fields during index-time? Are we missing some kind of configuration regarding the depth of the JSON?

Thanks

0 Karma

woodcock
Esteemed Legend

Just because fields are not in the Interesting Fields does not mean they have not been extracted; it just means that they are not "interesting"! You need to click on the All Fields link to pull up the fields popup and search for the "missing" fields there. In all likelihood, they are there (not really missing).

0 Karma

MuS
SplunkTrust
SplunkTrust

This is not really THE answer for your question, but have a look at the docs here http://docs.splunk.com/Documentation/Splunk/6.2.4/Data/Configureindex-timefieldextraction

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...