Getting Data In

Can Splunk index json from url on a schedule

fredclown
Builder

I have a JSON feed that I would like to get into Splunk. It is not in a file, however. It is on a web server. Is it possible to set up Splunk to read a JSON feed from a URL, say every minute?

Tags (2)
0 Karma
1 Solution

fredclown
Builder

Ok, after thinking about my question again and trying different search terms I think I found the answer. I think I'm looking for a scripted input. I could set up a shell script and use curl to pull in the data.

View solution in original post

0 Karma

fredclown
Builder

Ok, after thinking about my question again and trying different search terms I think I found the answer. I think I'm looking for a scripted input. I could set up a shell script and use curl to pull in the data.

0 Karma

apurva1707
New Member

I am facing the same issue. Can you please elaborate?

0 Karma

fredclown
Builder

Yep, this was the answer.

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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...