xme

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-11-15
09:59
320 views
FlexConnector Multiple Folder File: Recursive directories?
Hi *,
I'm wondering how to process events stored in files organized as follow on the file system:
/logs/server1/events.log
/logs/server2/events.log
/logs/serverX/events.log
The problem is not the messages format but the sub-directories.
I don't know how many servers will generate an events.log file. The number may grow in the future.
Is there a way to configure the FlexConnector to perform some recursion? (with a max. depth level) or use a regex to specify the directory? (/log/server*/)
Thanks for your comments!
/x
2 Replies
sparky1

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-11-15
11:31
Try this setting ... processfoldersrecursively=true and point the connector to /logs/
You can then use the wildcard option set to events.log to only process those types of log files.
xme

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-11-19
08:28
Great! Thanks Mark!