Getting Data In

Monitor Text Files

michaelsplunk1
Path Finder

If we have logs being pushed to a text file stored on our drive, can Splunk monitor the content of these files and can we search the content of these files?

Tags (5)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @michaelsplunk1,

yes, Splunk can index all text files.

If you create an input to read all files in a folder and you copy your files in that folder, Splunk automatically reads those files.

Obviously if you have different files (e.g forma or content), that must be parsed using different sourcetypes, you have to create a different input for each kind of file.

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Why You Can't Miss .conf25: Unleashing the Power of Agentic AI with Splunk & Cisco

The Defining Technology Movement of Our Lifetime The advent of agentic AI is arguably the defining technology ...

Deep Dive into Federated Analytics: Unlocking the Full Power of Your Security Data

In today’s complex digital landscape, security teams face increasing pressure to protect sprawling data across ...

Your summer travels continue with new course releases

Summer in the Northern hemisphere is in full swing, and is often a time to travel and explore. If your summer ...