Getting Data In

How to view whole JSON logs for field extraction in Splunk since it only shows 1/3rd of it currently?

sir_real
Engager

I’ve got some JSON logs pulling into Splunk and I’m trying to do the field extraction on one of the logs I’ve gathered. However, whenever it goes to the "Extract Fields" screen it only shows about 1/3 (top part) of the log. All of the pertinent data is not visible. Is there a setting or process to make the whole log viewable for field extraction?

Thanks in advance!
s_R

Tags (3)
0 Karma

Richfez
SplunkTrust
SplunkTrust

So you have JSON files being ingested, but not all fields/portions are being extracted?

Do you need an extraction that's not part of the KV extraction Splunk does when the sourcetype is set to JSON (e.g. extracting from an existing field or slicing and dicing a field into "subfields" that aren't JSON defined?)

Or are there NO fields extracted from this JSON file and you need to extract some?

In the former case, if you were to paste in an example of the field and the sub-value you want out of it I'm sure we can help you with a regex based extraction to handle that.

If the latter case, why not set it to JSON and let Splunk extract it?

0 Karma

micahkemp
Champion

How many bytes long is your JSON event? I believe there is a default limit involved.

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 ...