All Apps and Add-ons

Network Tool Kit Ping lookup with count

ansif
Motivator

Is there a way to include number of packets to check while using lookup ping?

What I can see is default it is taking only 1 packet sent.

Labels (1)
0 Karma

LukeMurphey
Champion

You can change the count by adjusting the number of runs in the UI
alt text

You can also provide the option to the search commands:

| ping host=lukemurphey.net count=2 
0 Karma

ansif
Motivator

I have fixed the issue somehow but expecting some help from you by including count argument with ping lookup.

I just edited ping_lookup.py and included an argument count=4 after host and index. That resolved the issue.

But if I get the same in lookup ping command that would be great.

0 Karma
.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!