
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
We have developed a file based Flex connector and the flex parser is working fine.
All the logs are written to a single file (sample.log) and hence we have used "Regex File" flex connector.
When connector is started the logs are read and parsed but when the log file(sample.log) is updated the connector is not reading the updated event in log file. But if i restart the connector it will read the whole file again creatinf duplicate entries.
Kindly suggest any options to read the log file in realtime.
Regards,
Santhosh kumar
Accepted Solutions


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
Try setting these parameters in agent.properties file.
- startatend=true
- preservestate=false
- followexternalrotation=true
- rotationscheme=None
- usealternaterotationdetection=true
- processingmode=realtime
- processingthreshold=86400000
- processingtimeout=3600000
Try this and let me know the result.
Regards,
Sumanth M.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
Try setting these parameters in agent.properties file.
- startatend=true
- preservestate=false
- followexternalrotation=true
- rotationscheme=None
- usealternaterotationdetection=true
- processingmode=realtime
- processingthreshold=86400000
- processingtimeout=3600000
Try this and let me know the result.
Regards,
Sumanth M.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
mainly you need below configuration in your agent.property file
.preservestate=true
.processfoldersrecursively=false
.processingmode=realtime
Regards
Gayan