Getting Data In

How accurate is using the eval len function to determine volume?

Path Finder

I know len counts the characters in a record, can we associate 1 character to 1 byte? Or is that highly inaccurate?

Tags (2)
0 Karma


I've found char count close enough - I can't remember if the indexing is done before or after conversion to utf8, so it may not 100% match the license count - but for determining volume of a particular source that is not in your metrics log I've always found it useful.

The metrics logs are the best way to measure, but depending on how many sources you have they may not be sampling the data you're after frequently enough.

Get Updates on the Splunk Community!

Splunk Cloud | Empowering Splunk Administrators with Admin Config Service (ACS)

Greetings, Splunk Cloud Admins and Splunk enthusiasts! The Admin Configuration Service (ACS) team is excited ...

Tech Talk | One Log to Rule Them All

One log to rule them all: how you can centralize your troubleshooting with Splunk logs We know how important ...

Splunk Security Content for Threat Detection & Response, Q1 Roundup

Join Principal Threat Researcher, Michael Haag, as he walks through: An introduction to the Splunk Threat ...