Splunk Search

SPL to find all UF clients that picked up specific deployment app?

dkr3500
Path Finder

Hi,

I know there are other ways to get this through the deployment server, but I'm trying to find a SPL to get results of which of my Splunk UF clients currently has a specific deployment app.

I have been able to use this SPL to find all all deployment apps on all my Splunk UF clients:

 

| rest /services/deployment/server/clients splunk_server=splunkdeploy01* 
| table hostname applications*.stateOnClient 
| untable hostname applications value 
| eval applications=replace(applications,"applications\.(\w+)\.stateOnClient","\1") 
| stats values(applications) as applications by hostname

 

However, I'm looking for a SPL that searches across all Splunk UF clients for a specific deployment app: "all_splunk_uf"

Thanks!

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust
| rest /services/deployment/server/clients splunk_server=splunkdeploy01* 
| table hostname applications*.stateOnClient 
| untable hostname applications value 
| eval applications=replace(applications,"applications\.(\w+)\.stateOnClient","\1") 
| search applications="all_splunk_uf"
| stats values(applications) as applications by hostname

Filter on the application name.

 

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

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust
| rest /services/deployment/server/clients splunk_server=splunkdeploy01* 
| table hostname applications*.stateOnClient 
| untable hostname applications value 
| eval applications=replace(applications,"applications\.(\w+)\.stateOnClient","\1") 
| search applications="all_splunk_uf"
| stats values(applications) as applications by hostname

Filter on the application name.

 

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...

What's New in Splunk Observability - October 2025

What’s New?    We’re excited to announce the latest enhancements to Splunk Observability Cloud and share ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

 Prepare to elevate your security operations with the powerful upgrade to Splunk Enterprise Security 8.x! This ...