This is the app: https://splunkbase.splunk.com/app/2776/
This is the configured input:
[file_meta_data://ACETestFolder]
file_hash_limit = 500MB
file_path = \\acetest
include_file_hash = 0
interval = 15m
only_if_changed = 1
recurse = 1
There is an initial pull of events seen in the main index, some 3k events
similar to this:
time="Tue Jan 24 16:37:39 2017" is_directory=1 file_count=0 directory_count=16 path=\\acetest atime="Thu Dec 22 12:52:26 2016" atime_epoch=1482429146.82 ctime="Thu Oct 15 16:15:49 2015" ctime_epoch=1444940149.33 dev=0 gid=0 ino=0 mode=16895 mtime="Thu Dec 22 12:52:26 2016" mtime_epoch=1482429146.82 nlink=0 size=4096 uid=0 owner=Administrators\BUILTIN owner...(lots more fields)
All events have same timestamp time="Tue Jan 24 16:37:39 2017" which is correctly indexed in main.
In the index= _internal source="C:\Program Files\Splunk\var\log\splunk\file_meta_data_modular_input.log"
Events like:
2017-01-24 16:37:34,867 INFO Time is later than filter, st_mtime=1482429146.8163483, must_be_later_than=0, path='\\\acetest'
Have second input:
[file_meta_data://fileTest]
file_hash_limit = 500MB
file_path = \\someshare_archive06$
include_file_hash = 0
interval = 15m
only_if_changed = 1
recurse = 1
disabled = 0
No events in main.
index=_internal source="C:\Program Files\Splunk\var\log\splunk\file_meta_data_modular_input.log"
2017-01-24 17:35:24,240 INFO Time is later than filter, st_mtime=1333460403.592, must_be_later_than=0, path="\\\someshare_archive06$\~filedetails.xlsm3.xlsm"
Also lost of these:
2017-01-24 17:29:38,009 ERROR Error when processing path="blah", reason="(1332, 'LookupAccountSid', 'No mapping between account names and security IDs was done.')" Traceback (most recent call last): File "C:\Program Files\Splunk\etc\apps\file_meta_data\bin\file_meta_data.py", line 381, in get_file_data windows_acl_info = cls.get_windows_acl_data(file_path, logger) File "C:\Program Files\Splunk\etc\apps\file_meta_data\bin\file_meta_data.py", line 254, in get_windows_acl_data sid_resolved = win32security.LookupAccountSid(None, sid) error: (1332, 'LookupAccountSid', 'No mapping between account names and security IDs was done.')
... View more