Getting Data In

Re-index all lines of a CSV file after any change?

jamesklassen
Path Finder

I have CSV files that are point-in-time snapshots of a configuration. If any part of the CSV changes, I'd like the contents of the entire CSV file to be re-indexed and not just the lines that changed. I hope to reference each "version" of the CSV's contents in Splunk by the index time.

I've tried playing with the different options for the CHECK_METHOD option for props.conf, but it continues to only index the lines that have changed rather than the entire file.

inputs.conf:

[monitor://C:\baselines\BaselinePorts.csv]
index = tracking
sourcetype = baselines

props.conf

[baselines]
FIELD_DELIMITER=,
HEADER_FIELD_DELIMITER=,
CHECK_METHOD=endpoint_md5
0 Karma
Get Updates on the Splunk Community!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...