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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...