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!

Learn Splunk Insider Insights, Do More With Gen AI, & Find 20+ New Use Cases You Can ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Stay Connected: Your Guide to April Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...