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!

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...

AI Adoption Hub Launch | Curated Resources to Get Started with AI in Splunk

Hey Splunk Practitioners and AI Enthusiasts! It’s no secret (or surprise) that AI is at the forefront of ...