Forum
»
New development
»
Feature requests
»
documentation to set up a logfile based trigger?
  Rank: No customerJoined: 4/24/2009(UTC) Posts: 3 Location: new york
|
we would like to do the following:
- monitor an application logfile for a pattern match - if/when there's a pattern match, trigger/run a script or command
thanks
|
|
|
|
  Rank: Official supportJoined: 2/23/2008(UTC) Posts: 11,222
Thanks: 874 times Was thanked: 446 time(s) in 424 post(s)
|
Do you mean event log or file log? sam wrote:we would like to do the following:
- monitor an application logfile for a pattern match - if/when there's a pattern match, trigger/run a script or command
thanks
|
|
|
|
|
  Rank: No customerJoined: 4/24/2009(UTC) Posts: 3 Location: new york
|
this would be our own or a 3rd-party file log - not windows event logs.
|
|
|
|
  Rank: Official supportJoined: 2/23/2008(UTC) Posts: 11,222
Thanks: 874 times Was thanked: 446 time(s) in 424 post(s)
|
Then you should read about using the File trigger. The problem is, from what I understand, that you want to watch the content of the file you are watching? Is that right? You can always track that changes has been made to that file but the problem is that you need to reload the file, as it is constructed right now. If the file is big and you have a lot of changes this may not be efficient. I think you are requesting some kind of tail function with matching in it? sam wrote:this would be our own or a 3rd-party file log - not windows event logs.
|
|
|
|
|
  Rank: No customerJoined: 4/24/2009(UTC) Posts: 3 Location: new york
|
yes indeed, i believe your last statement (tail function with pattern match) sums it up...
|
|
|
|
  Rank: Official supportJoined: 2/23/2008(UTC) Posts: 11,222
Thanks: 874 times Was thanked: 446 time(s) in 424 post(s)
|
We need to investigate more about this. How this can be solved the best way. I am moving this topic to Feature requests. |
|
|
|
|
  Rank: No customerJoined: 2/28/2008(UTC) Posts: 145
|
This would be an extremely nice feature.
We currently use another tool that performs this function. I found that it is possible to create a monitor in that tool, and then schedule and run it from VisualCron as an http command - a condition is used to check the output for the result that would result in VC taking some action on it.
It would be much nicer to have this integrated into VC, and based on a trigger, rather than frequently scheduled checks.
|
|
|
|
  Rank: Free supportJoined: 1/23/2013(UTC) Posts: 4  Location: Wodonga Thanks: 1 times
|
Is this feature available?
|
|
|
|
  Rank: Official supportJoined: 2/23/2008(UTC) Posts: 11,222
Thanks: 874 times Was thanked: 446 time(s) in 424 post(s)
|
Not yet, but definitely still interesting. |
|
|
|
|
Users browsing this topic |
Guest
|
Forum
»
New development
»
Feature requests
»
documentation to set up a logfile based trigger?
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.