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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...