Monitoring Splunk

need to check where is ulimit value

Praz_123
Communicator

How can i find ulimit value/status for all server in monitoring console.

Labels (2)
Tags (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Praz_123 ,

if you'r speaking of ulimit of Splunk Servers, you can use the Monitoring Console health Check.

If you're speking of Forwarders (Universal or Heavy it's the same), there's no direct solution and you should use the solution from @livehybrid: a shall script input (to insert in a custom add-on) that extract this value and sends it to the Indexers.

Ciao.

Giuseppe

SanjayReddy
SplunkTrust
SplunkTrust

Hi @Praz_123 

you can use rest call in moniotring console for getting inforamtion for SH and Indexers information

SanjayReddy_0-1739384313728.png

 


| rest splunk_server=<server name> services/server/sysinfo | eval "RAM GB"=round(physicalMemoryMB/1024)
| table os_name os_build cpu_arch "RAM GB" numberOfCores numberOfVirtualCores transparent_hugepages.defrag transparent_hugepages.enabled transparent_hugepages.effective_state ulimits*
| rename os_name as "Opeating System" os_build as "OS Build" cpu_arch as "OS Arch" numberOfCores as "Physical Cores" numberOfVirtualCores as "Virtual Cores" transparent_hugepages.defrag as "THP Defrag" transparent_hugepages.enabled as "THP enabled"

you can use following rest call to run in CLI as well

curl -k -u admin:changeme https://localhost:8089/services/server/sysinfo

 

0 Karma

livehybrid
SplunkTrust
SplunkTrust

well TIL… thanks @SanjayReddy 

0 Karma

kiran_panchavat
SplunkTrust
SplunkTrust

@Praz_123 

There are a few ways you can check your ulimit settings.

kiran_panchavat_1-1739380104413.png

 

kiran_panchavat_2-1739380127035.png

 

  • Each time the Splunk Enterprise service is started or restarted, it will report on the ulimits. You can search the internal logs for the report using:

kiran_panchavat_0-1739379951810.png

 

Did this help? If yes, please consider giving kudos, marking it as the solution, or commenting for clarification — your feedback keeps the community going!

livehybrid
SplunkTrust
SplunkTrust

Hi @Praz_123 

 

You may be able to create a simple app to push out to your instances which runs a modular input to capture this, but in terms of out-of-the-box functionality, unfortunately this isnt available at the moment.

Please let me know how you get on and consider accepting this answer or adding karma this answer if it has helped.
Regards

Will

 

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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...