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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...