Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


sam
  •  sam
  • No customer Topic Starter
2009-04-24T16:53:58Z
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





Sponsor
Forum information
Support
2009-04-24T17:25:00Z
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



Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
sam
  •  sam
  • No customer Topic Starter
2009-04-24T18:38:53Z
this would be our own or a 3rd-party file log - not windows event logs.
Support
2009-04-24T19:28:57Z
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.



Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
sam
  •  sam
  • No customer Topic Starter
2009-04-24T20:14:39Z
yes indeed, i believe your last statement (tail function with pattern match) sums it up...
Support
2009-04-24T20:44:21Z
We need to investigate more about this. How this can be solved the best way. I am moving this topic to Feature requests.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
lal
2009-04-25T02:20:41Z
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.
wodrend
2013-08-05T17:49:44Z
Is this feature available?
Support
2013-08-05T20:50:28Z
Not yet, but definitely still interesting.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top