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!

Labels (1)
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!

Harnessing Splunk’s Federated Search for Amazon S3

Managing your data effectively often means balancing performance, costs, and compliance. Splunk’s Federated ...

Infographic provides the TL;DR for the 2024 Splunk Career Impact Report

We’ve been buzzing with excitement about the recent validation of Splunk Education! The 2024 Splunk Career ...

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...