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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...