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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...