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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...