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!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...