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!

How to Get Started with Splunk Data Management Pipeline Builders (Edge Processor & ...

If you want to gain full control over your growing data volumes, check out Splunk’s Data Management pipeline ...

Out of the Box to Up And Running - Streamlined Observability for Your Cloud ...

  Tech Talk Streamlined Observability for Your Cloud Environment Register    Out of the Box to Up And Running ...

Splunk Smartness with Brandon Sternfield | Episode 3

Hello and welcome to another episode of "Splunk Smartness," the interview series where we explore the power of ...