Getting Data In

How to get JSON fields to show up in the 'interesting fields' list in a search?

scottj1y
Path Finder

I have json being input to Splunk and the JSON is being parsed ok. At least the events show up with collapsed fields in the list of events. But none of the JSON fields are showing up as "interesting fileds" which makes me wonder if the JSON is being properly parsed. From the documentation I read that if I set:

KV_MODE = json

that it's "Used for search-time field extractions only" and "automatically extracts fields from JSON data" which leads me to expect that the JSON fields would show up in "interesting fields".

However that's not the case. Here's my props.conf file

INDEXED_EXTRACTIONS = JSON
KV_MODE = json
JSON_TRIM_BRACES_IN_ARRAY_NAMES = TRUE
TRUNCATE = 0
0 Karma

scottj1y
Path Finder

Thanks, I was starting to think that was the principle reason behind this.

0 Karma

elliotproebstel
Champion

The "Interesting Fields" section displays fields that appear in >20% of the search results for a given search. Here's more info about that:
https://docs.splunk.com/Documentation/Splunk/7.0.2/SearchTutorial/Usefieldstosearch

You can manually add specific fields to the "Selected Fields" section if you'd like.

Get Updates on the Splunk Community!

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...