Splunk Enterprise

license pool name : whitespace

lculot
New Member

Hi,

We noticed that spaces in license pool names are not escaped for some monitoring console license searches (historic data)

For a pool name like : My Pool

a license monitoring search will try 

search (index=_internal host=myserver source=*license_usage.log* type="RolloverSummary" earliest=-30d@d pool=My Pool) | eval _time=('_time' - 43200) | bin _time span=1d | stats latest(b) AS b by slave, pool, _time | timechart span=1d sum(b) AS "volume" fixedrange=false | join type=outer _time [| search (index=_internal host=myserver source=*license_usage.log* type="RolloverSummary" earliest=-30d@d pool=My Pool) | eval _time=('_time' - 43200) | bin _time span=1d | stats latest(poolsz) AS "pool size" by _time] | fields - _timediff | foreach "*" [ eval <<FIELD>>=round('<<FIELD>>'/1024/1024/1024, 3) ]

which produces no results because $pool_clause$ values are not in double quotes (pool="My Pool") or whitespace is not escaped (pool=My\ Pool)

Can we modify this behavior somewhere ?

Labels (2)
Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

You should be able to go to $SPLUNK_HOME/etc/splunk_monitoring_console/default, copy the relevant searches from savedsearches.conf to ../local/savedsearches.conf, then change $pool_clause$ to $pool_clause|s$.  Restart the MC instance and the searches should work better.

File a support request, too, so Splunk can fix that bug.

---
If this reply helps you, Karma would be appreciated.
0 Karma

lculot
New Member

Thanks for the suggestion, as the pool_clause exist only in macros.conf we tried adding the change there but after restart search result throws

Unknown search command 's'


Because the historical data is new we will rename the pool without whitespace as a workaround (system/local/server.conf).

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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...