All Apps and Add-ons

Network Tool Kit Bulk Port Check

ansif
Motivator

Hi,

We can do bulk ping using this app

Ping:

... | lookup ping host as host_to_lookup | table _raw host sent received packet_loss min_ping max_ping avg_ping jitter return_code raw_output

Can we do Port scan?

Like all host with same port number?

0 Karma

LukeMurphey
Champion

It doesn't support that yet. This was an oversight on my part because I added the port scanning functionality after I had created the previous lookup commands. I opened a ticket to add the ability to do bulk port scans: https://lukemurphey.net/issues/2589

Update:
I added the ability to do this in version 1.5: https://splunkbase.splunk.com/app/3491/

See https://lukemurphey.net/projects/network-tools/wiki/Using_Lookups for how to use the lookup. You just need to make sure that the host field (e.g. "10.0.0.1") and the ports field (e.g. "80-1024,8000") are defined. I was testing it like this:

(dest=10.0.0.6 OR dest=10.0.1.11) | stats count by dest | eval ports="80,443,8000" | lookup portscan host as dest ports | table ports dest open_ports closed_ports

0 Karma

skyelowryvancit
Explorer

Also bulk whois from ...|lookup whois host as host_to_lookup

Currently the response is an empty table with no content, The whois is performed and the results end up in index=main (even though nettools is the index specified in Configuration).

Not sure if this is a similar oversight or a different issue.

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...