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!

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...

Splunk and TLS: It doesn't have to be too hard

Overview Creating a TLS cert for Splunk usage is pretty much standard openssl.  To make life better, use an ...

Faster Insights with AI, Streamlined Cloud-Native Operations, and More New Lantern ...

Splunk Lantern is a Splunk customer success center that provides practical guidance from Splunk experts on key ...