Getting Data In

Does Splunk have production-ready REST interfaces to input data?

mahbe
Engager

The title says it, my question is if Splunk supports REST interfaces for simply inputting data.

I read about this topic in http://splunk-base.splunk.com/answers/33/can-i-inject-events-into-splunk-via-a-script but I have no idea if this is available for productive usage meanwhile. I tried it with the current version of Splunk but my POSTed data didn't show up in Splunk.

Tags (1)
0 Karma
1 Solution

mahbe
Engager

For system monitoring or reading logs it might be the right solution using a forwarder. But if I want to input events from within an application directly into Splunk (e.g. for application monitoring) the REST API seems to be a better choice.

0 Karma

Ayn
Legend

What are you looking to achieve by submitting these through the REST API interface rather than just, say, syslog? Authentication, encryption? You might be better off with using a forwarder that will give you this as well.

0 Karma

dmaislin_splunk
Splunk Employee
Splunk Employee
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Introducing the 2026 - 2027 SplunkTrust cohort!

The goal of the SplunkTrust™ membership has historically been to acknowledge and recognize those who go above ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...