Deployment Architecture

Servername and application.

SridharS
Path Finder

Hi, I am planning to create a dashboard. In that i need to know the servername replying to the headnode, server last update time, application that is using that server and the server platform(windows, linux.. etc). currently I am using

  | metadata type=hosts | sort -recentTime | convert ctime(recentTime) as Latest_Time | table host, Latest_Time, totalCount

Can I know how it can be done.

Tags (2)
0 Karma

mlf
Path Finder

Assuming that by "applications" you mean Splunk apps deployed from a deployment server, and your deployment server is reachable from where ever you're searching, something like this might work:

| metadata type=hosts | sort -recentTime | convert ctime(recentTime) as Latest_Time | table host, Latest_Time, totalCount 
| join type=outer host [ 
   | rest /services/deployment/server/clients 
   | eval apps=" "
   | foreach applications.*.stateOnClient [ eval apps=if('<<FIELD>>'="enabled", apps."A"." <<MATCHSTR>>", apps) ] 
   | fields fields dns, utsname, apps 
   | rename dns as host 
] 
| fields host, Latest_Time, totalCount, utsname, apps
0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...