Getting Data In

Can we use REST API instead of Universal Forwarder to send logs to indexer, if so, How can we do that?

saicool
Engager

How can we send the logs through REST API without using the Universal forwarder on the application server or any sources

Tags (2)
0 Karma

xpac
SplunkTrust
SplunkTrust

Hey,
the best way to do this is the Splunk HTTP Event Collector. It's a HTTP(S) API, that you can send your events to.
There is a lot to be considered for this, but the documents explain it pretty well. Check this:

Set up and use HTTP Event Collector in Splunk Web
Introduction to Splunk HTTP Event Collector

Hope that helps - if it does I'd be happy if you would upvote/accept this answer, so others could profit from it. 🙂

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...