Splunk Search

Monitoring .txt file, indexation problem

medsy
Explorer

| inputlookup file.csv | search NOT [search index=sph | dedup DMC | table DMC ] | dedup number

In my scenario I have two files, a csv static file with a constant list of data and a .txt file which contains either the entire contents of the csv file or some. in fact I want to make a comparison if an element is not in the .txt file and it is in the csv file I display it in suite I alert. the problem now is in the monitoring of the .txt file, sometimes when it is a single line that changes it displays all the elements already present at the level of the .txt file as missing because it does not reindex.
can we monitor a file without indexing?

Labels (1)
Tags (3)
0 Karma
Get Updates on the Splunk Community!

Splunk Education - Fast Start Program!

Welcome to Splunk Education! Splunk training programs are designed to enable you to get started quickly and ...

Five Subtly Different Ways of Adding Manual Instrumentation in Java

You can find the code of this example on GitHub here. Please feel free to star the repository to keep in ...

New Splunk APM Enhancements Help Troubleshoot Your MySQL and NoSQL Databases Faster

Splunk Observability has two new enhancements to make it quicker and easier to troubleshoot slow or frequently ...