Getting Data In

Can Splunk index json from url on a schedule

fredclown
Contributor

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
Contributor

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
Contributor

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
Contributor

Yep, this was the answer.

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...