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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...