Getting Data In

How to telnet or ping on a specific port at certain intervals in Splunk to check if the port is listening on a host?

rakulka
Engager

Hi Team

I am getting a list of hosts and their corresponding ports in the indexed data and I want to keep checking whether the port is listening on that host using Splunk every say 3 min. How can I do this?

e.g. Data I am getting from indexing
HOST=abc.pqr.com,PORT=9001
HOST=11.11.11.11,PORT=9242

In Linux, I can check if a port is listening using standard telnet command. How can I do the same in Splunk?
I found the telnetstatus app, but the same is not considering a specific port. Any simple and direct app suggestions appreciated.

woodcock
Esteemed Legend
0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...