Comments (4)
Hi @softwareguy74 ,
Thank you very much for your suggestions. We actually do have a polling mechanism. On a busy system, the FileSystemWatcher can fire extremely rapidly. So we buffer the events and process at a timer interval. In the timer event, we do poll the file system. See:
.We did observe that FileSystemEvent not alway fire, but any disturbance (such as listing files or reading the file length) seems to trigger it to fire.
So far we did not encounter this issue in our internal production. That said, we do not have many data points on UNC paths. If you encounter any problem, please do let us know.
from kinesis-agent-windows.
The issue with the UNC paths failing is when a file server is taken off line and brought back up. The FSW will fail to continue, and needs to be restarted. So there needs to be some mechanism to check if FSW is no longer working and restart it. It's possible some people put log files on UNC paths so this could be a real problem out in the real world.
from kinesis-agent-windows.
Agree. Thanks for the clarification!
We had a recent commit for a slightly difference use case but may not cover your use case: c9182fc. We'll post back on this thread once we have verified or implemented the scenario of file server taken off/brought back up.
from kinesis-agent-windows.
Hi @softwareguy74 , we have added a feature to recreate FSW when a directory becomes unavailable in bd8ba3a. Please try version 1.0.0.128 or later from our beta download page: https://s3-us-west-2.amazonaws.com/kinesis-agent-windows/beta/index.html. Let us know if the fix addresses your concern. Thank you very much.
from kinesis-agent-windows.
Related Issues (19)
- Can we get a regular EXE to install the agent? HOT 9
- Windows Sysmon Source Declarations HOT 2
- TimeStamp exception in valid timestamp HOT 15
- When build is executed nuget.exe is not found HOT 2
- Kinesis agent file deletion access HOT 2
- Kinesis agent moving files after processing (new feature?) HOT 1
- Is it possible that kinesis agent send to the wrong region? HOT 2
- Feature Request: Add Support for Configurable Log Group Retention HOT 1
- Any plans to switch to .NET Core? HOT 5
- The support encoding of 'Sources' is too narrow. HOT 2
- WindowsETWEventSource does not include TraceEvent.ID
- PartitionKey per Source
- Unable to connect source and sink HOT 2
- Unable to use KTAP Agent Memory Metrics with AWS Compute Optimizer HOT 3
- Can't Install the Agent HOT 12
- Update NLog to latest version, instead of BETA HOT 1
- WindowsEventLogSource Suppress Path supported HOT 1
- Amazon.KinesisFirehose.AmazonKinesisFirehoseException: Signature expired HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kinesis-agent-windows.