Getting Data In

How to ping a list of IP address based on search results?

ngerosa
Path Finder

Hi all,
I have a search that run a query to a database and as a results i have several IP address.
I would like to ping all the IP address and add a column to the panel that return the result of the ping.

My first query have the follow results:

  HOST    IP_ADDRESS
  xxxx      192.10.15.74
  yyyy      192.11.47.36
  zzzz      192.32.51.58

I would like to ping all the IP address and add a STATUS_PING column to the panel:

  HOST      IP_ADDRESS        STATUS_PING
  xxxx      192.10.15.74      KO
  yyyy      192.11.47.36      OK
  zzzz      192.32.51.58      OK

Anyone can help me?

Thnaks!

0 Karma
1 Solution

ansif
Motivator
0 Karma

ansif
Motivator

I could see an app in splunkbase,try

https://splunkbase.splunk.com/app/507/

0 Karma

ngerosa
Path Finder

Hi Ansif, with PINGSTATUS app how I can ping the IP address directly from my dashboard that have as results the example above?

0 Karma

dandusv
New Member

Hi ngerosa, can you please post search command for ping result? thanks in advance

0 Karma

logloganathan
Motivator

As Ansif told, please download https://splunkbase.splunk.com/app/507/

To install apps and add-ons directly into Splunk Enterprise
Put the downloaded file in the $SPLUNK_HOME/etc/apps directory.
Untar and ungzip your app or add-on, using a tool like tar -xvf (on *nix) or WinZip (on Windows).
Restart Splunk.

then ping the IP and include the result to dashboard

0 Karma

ngerosa
Path Finder

Hi logloganathan,
i already installed the pingstatus app, my question is how to incorparate the ping command to a existing dashboard.
i would like to ping several IP address that I know only when I run a search

0 Karma

logloganathan
Motivator

did you get the result of ping command using the app?

0 Karma

ngerosa
Path Finder

How I can run as root the Splunk Instance?
I already install the app pingstatus on another splunk and I can't run the app.

0 Karma

ngerosa
Path Finder

Yes! Now it's working! Thanks a lot!

0 Karma

keezy713
Loves-to-Learn

What was the command that you used ? Query example? Thanks!

0 Karma

ansif
Motivator

If question is answered ,can you accept?

ngerosa
Path Finder

How I can accept?

0 Karma

ansif
Motivator

Can you see if Accept button is available now?

0 Karma
Get Updates on the Splunk Community!

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Index This | What goes away as soon as you talk about it?

May 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

What's New in Splunk Observability Cloud and Splunk AppDynamics - May 2025

This month, we’re delivering several new innovations in Splunk Observability Cloud and Splunk AppDynamics ...