Is there a way at input time to omit the path of the file monitor to leave only the file names ?
path monitored :
in the location - the files ..
but the source is alway prepended with the path.
can this be removed at input ?
This can be done at Parsing time using transforms.conf
SOURCE_KEY = MetaData:Source
REGEX = \/opt\/csv\/(\w+.\w+)
DEST_KEY = MetaData:Source
tried this exactly as above in transforms.conf and had no effect
splunk was restarted.
did you call it through props.conf?