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
Legend

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
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...