Getting Data In

Not able to make API call to splunk instance through IP address.

pallavi_prabhu_
Explorer

We have splunk enterprise trial version on machine. We are trying to call that instance through API by putting IP address in URL. But not able to connect? Is it possible to make API call to IP address.

 

Labels (1)
0 Karma
1 Solution

isoutamo
SplunkTrust
SplunkTrust
Are you checked that there haven't any firewall on that another machine?
r. Ismo

View solution in original post

0 Karma

isoutamo
SplunkTrust
SplunkTrust
Hi
yes it's same if you are using FQDN:port or IP:port.
r. Ismo
0 Karma

pallavi_prabhu_
Explorer

@isoutamo 

My colleague's machine we have installed Splunk enterprise trial version. And trough my machine we are making below call in command prompt:

 

C:\Users\dhiraj_chaudhari> curl -u username:Password "https://192.168.0.1XX:8089/services/receivers/simple?source=www&sourcetype=web_event" -d "Sun Jul 10 15:56:02 PDT 2011   User myusername logged in successfully."
curl: (7) Failed to connect to 192.168.0.1XX port 8089: Timed out
 
IS there any way to make it wok?
0 Karma

isoutamo
SplunkTrust
SplunkTrust
Are you checked that there haven't any firewall on that another machine?
r. Ismo
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 ...