google-code-export / snaketail-net

Automatically exported from code.google.com/p/snaketail-net
0 stars 1 forks source link

Call executable or script on match #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Pass the filename of the log and the line to the script for processing.

Could be used for automation based on log entries.

Original issue reported on code.google.com by ido...@gmail.com on 17 May 2013 at 5:44

GoogleCodeExporter commented 9 years ago
I have implemented a solution where one can create an External Tool, and then 
register on a keyword that it should launch this external tool.

When creating the External Tool then one can specify 
command-line-parameter-keywords (filename, line-number, etc), which SnakeTail 
will replace with actual values before calling the External Tool.

SnakeTail will use a dedicated thread for running the External Tool when there 
is a keyword match, so they will be run in sequential order (No parallel 
execution). This will allow SnakeTail to be responsive even if the External 
Tool is a "heavy" operation.

Please review the solution, and report how it works.

Original comment by sweaty1 on 23 May 2013 at 8:32

Attachments:

GoogleCodeExporter commented 9 years ago
Ver. 1.9.0 has been released

Original comment by snakenes...@gmail.com on 30 Sep 2014 at 10:22