Hi Splunk Experts,
I am trying to make a health check dashboard for our application.First thing in the list is to monitor status of Linux process.
What I am planning is to execute a shell script in the server and write output of process status as 0 and 1.
Where 0 is running and 1 is down. Then this is written to a log and this logs is being pushed to Splunk.
Now my requirement is to create a dashboard which display Service Name and then status as Green or Red.
Just wanted to know whether this is right approach or is there any alternative way to achieve the same more efficiently ?
@Sishad - I think that's the right approach to work on your requirement.
But alternatively, you could use Unix and Linux Add-on's ps.sh script to get this data without you have to write the script yourself.
- https://docs.splunk.com/Documentation/AddOns/released/UnixLinux/About
- https://splunkbase.splunk.com/app/833
I hope this helps!!! Kindly upvote if it does!!!
I don't have access to Splunk Indexer and have access only to target servers.
That's why I am asking for a way to build dashboard from target server shell script output data.