Security

Blank h and s in license_usage.log?

Jason
Motivator

I'm looking to make some metrics dashboards off of the license_usage log, similar to the way the Deployment Monitor works.

However, looking at index=_internal source=*license_usage.log on the license master, there are a lot of entries with h="" s="" (original host and source fields blank).

What is going on here? (License master = 4.2.4, indexers/search heads = 4.3.1)

1 Solution

Vishal_Patel
Splunk Employee
Splunk Employee

An indexer will send a periodic breakdown of data indexed, split by s= h= st= by default. However, if the number of unique s,st,h tuples grows too large (1000 by default), we squash the s/h keys to avoid explosion in memory/processing overhead of the table.

NOTE: we introduced a tunable by setting, squash_threshold in server.conf in 4.3.1 where you can increase the threshold. It can be set in server.conf of indexers under the license stanza.

View solution in original post

Vishal_Patel
Splunk Employee
Splunk Employee

An indexer will send a periodic breakdown of data indexed, split by s= h= st= by default. However, if the number of unique s,st,h tuples grows too large (1000 by default), we squash the s/h keys to avoid explosion in memory/processing overhead of the table.

NOTE: we introduced a tunable by setting, squash_threshold in server.conf in 4.3.1 where you can increase the threshold. It can be set in server.conf of indexers under the license stanza.

Jason
Motivator

That makes sense, thanks. It would be great to have an option to just squash source, leaving host and sourcetype alone... submitting an ER.

theerroco
Engager

Agree that it would be nice to have the ability to tune which fields are squashed (s or h or both) along with the numeric limit. At 6.3.3, it only appears that adjusting the squash_threshold is an option.

0 Karma

mattlucas1
Engager

default is 2000

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...