Getting Data In

Can you get a list of raw tcp ports being monitored from just an index name?

juniormint
Communicator

My app is sending events to a TCP port that Splunk is monitoring. Rather than make the port number part of the configuration of my app, I am hoping that I can ask Splunk for available ports.

Is this doable? How might I do it?

Tags (1)
0 Karma

lguinn2
Legend

This is not related to the Splunk index. However, you could write some code using the Splunk API to query a Splunk server (or servers) for the list of TCP or UDP ports that Splunk is currently monitoring.

Splunk's REST API Overview

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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