Getting Data In

Is it normal behavior for JSON labels, not just actual key/value data, to be counted against license usage and how to prevent this?

albertohontoria
Path Finder

Hi friends

I have a question. I have an app that formats output as json and sends it to Splunk. Real data of each event is 512Bytes only, but I have detected that Splunks counts all event data, even json labels for license usage.

Real data is approximately 1 GB/day, but with json labels, it's consuming 15GB/day and exceeding license usage.

Is this a normal behavior? Is there a way to solve it and not consume so much of our license daily?

Regards

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Splunk counts the size of an event, regardless of its content... so yeah, this is expected behaviour. There is no notion of "real data" contained within the events, all data is treated equally for licensing purposes.

If feasible without impeding usability, you could shorten your JSON labels. However, self-describing data will always be larger than data with an implicit structure. It's a tradeoff between size and ease of use.

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

Splunk counts the size of an event, regardless of its content... so yeah, this is expected behaviour. There is no notion of "real data" contained within the events, all data is treated equally for licensing purposes.

If feasible without impeding usability, you could shorten your JSON labels. However, self-describing data will always be larger than data with an implicit structure. It's a tradeoff between size and ease of use.

martin_mueller
SplunkTrust
SplunkTrust

Example of what?

0 Karma

albertohontoria
Path Finder

Unfortunately there is no way in the App to shorten JSON labels. I'll try to send the data as raw data with static structure instead of json, and format it in splunk.

If you have any example it can help me a lot

Regards and thanks for the reponse

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!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...