Getting Data In

How to open the file in a web server

10306629
New Member

Hi Team,

I have a file in a web server. The file can be opened in browser using link http://www.abcde.com/sample.txt. I just want to index this file in to splunk. Could someone help me out with some script on the same.

Tags (3)
0 Karma

rphillips_splk
Splunk Employee
Splunk Employee
  1. install a splunk universal forwarder on your web server
  2. setup inputs.conf monitor input with the path to that file. See examples in http://docs.splunk.com/Documentation/Splunk/7.0.0/Admin/Inputsconf
  3. setup outputs.conf to point the forwarder to your indexers. See examples in outputs.conf https://docs.splunk.com/Documentation/Splunk/7.0.0/Admin/Outputsconf
  4. enable the input on your indexer (port 9997 by default)
0 Karma

10306629
New Member

Hi Phillips,
Thanks, Is there is any other way to open the file in a web server... like a script based..

0 Karma
Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

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

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...