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!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...