Hello Vishal, is the folder structure always the same? If yes, this should work: | rex field=source "Daily Reporting\\(?<business_unit>[^\\]+)" If not you could use this regex: \\\\[^\\]+\\[^\\]+\\[^\\]+\\[^\\]+\\[^\\]+\\(?<business_unit>[^\\]+) If you want to include this to props.conf and transforms.conf try something like this: props.conf [sourcetype]
REPORT-my_fields = business_unit transforms.conf [business_unit]
SOURCE_KEY = source
REGEX = one of the above mentioned regex If this helps please upvote my answer. Best regards, Vincent
... View more