Splunk Enterprise

Required golang REST API

arunprasath42
Loves-to-Learn

Hi team, 

I need a golang REST API  code for sending the json logs to splunk enterprise. I have a hard time searching in the web , but unable to find the right sort of code that works . It would be helpful for me if i get some links for it as soon as possible . 

Thanks in advance,

Arun

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

The REST API is language-agnostic.  Use the available golang features to send HTTPS requests to your Splunk server and parse the responses.  See the REST API manuals at https://docs.splunk.com/Documentation/Splunk for details.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

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 ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...