Splunk Search

I want IPs for Splunk Cloud indexers for firewall rules. How can I get a list?

khourihan_splun
Splunk Employee
Splunk Employee

I basically took the list if fqdn in outputs.conf and ran “host inputs1.example.splunkcloud.com” for each one.. then took the distinct values. is that valid? a better way?

0 Karma
1 Solution

khourihan_splun
Splunk Employee
Splunk Employee

try this:

for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do dig +short inputs$i.STACKNAME.splunkcloud.com; done |sort -u

View solution in original post

khourihan_splun
Splunk Employee
Splunk Employee

try this:

for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do dig +short inputs$i.STACKNAME.splunkcloud.com; done |sort -u

kevincorder
New Member

Can you walk through how to do this?

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...