Getting Data In

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

pbarbuto
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

jplumsdaine22
Influencer

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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...