Installation

Do spaces in logs count against your license?

daniel333
Builder

Hey guys,

Do spaces in logs count against licensing? for example

url=https://www.google.com
vs
url = https://www.google.com

thanks,
-Daniel

Labels (1)
0 Karma
1 Solution

acharlieh
Influencer

Splunk is licensed in bytes that land into an index per day, it doesn't matter if those bytes are spaces or a pile of poo, they're still bytes.

Now, the key here is "land in an index"... prior to landing, you can use TRANSFORMs or SEDCMD, and to help you keep the crap out of Splunk, (that said, trying to trim meaningless spaces, and leave meaningful spaces this way might give you a bit of a headache).

You may be interested in cerby's .conf 2014 talk about Keeping the Junk out of Splunk. Slides Recording

View solution in original post

acharlieh
Influencer

Splunk is licensed in bytes that land into an index per day, it doesn't matter if those bytes are spaces or a pile of poo, they're still bytes.

Now, the key here is "land in an index"... prior to landing, you can use TRANSFORMs or SEDCMD, and to help you keep the crap out of Splunk, (that said, trying to trim meaningless spaces, and leave meaningful spaces this way might give you a bit of a headache).

You may be interested in cerby's .conf 2014 talk about Keeping the Junk out of Splunk. Slides Recording

MuS
SplunkTrust
SplunkTrust

Reading the first part of this answer I had to thought of this http://splunkreactions.tumblr.com/post/140342252890/can-we-save-on-license-if-we-use-a-smaller-font 🙂

Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...