VMware Cloud Community
ri28
Contributor
Contributor
Jump to solution

Log Insight Agent directory monitoring

Can the LI Agent for windows be set up to monitor and recurse a directory?

I have a case where the log files are organized in subdirectories. Each subdirectory name is not predictable since the name is created each time a process is launched.

This is for monitoring logs from a Docker Engine on WIndows.

Each time a container is launched, a new directory is created and log file is kept in that directory.

Thanks

Tags (2)
1 Solution

Accepted Solutions
ri28
Contributor
Contributor
Jump to solution

Thanks Steve! Gave it a shot and works beautifully!

View solution in original post

Reply
0 Kudos
3 Replies
daphnissov
Immortal
Immortal
Jump to solution

I know the offline log importer supports recursive search, but I don't know about the vRLI agent itself. Normally, the agent definition has to have an absolute path. I don't know if there are some advanced switches that allow you to specify otherwise. This might be something sflanders​ knows.

Reply
0 Kudos
sflanders
Commander
Commander
Jump to solution

Starting in version 4.5, this is supported: Log Insight 4.5: Agent Recursive Directory Support - SFlanders.net

Hope this helps! === If you find this information useful, please award points for "correct" or "helpful". ===
ri28
Contributor
Contributor
Jump to solution

Thanks Steve! Gave it a shot and works beautifully!

Reply
0 Kudos