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