parse N logs

Notes, tips, and other usefull things on how to use LogMX

Moderator: admin

Post Reply
log_troll
Posts: 1
Joined: Mon Aug 25, 2014 11:42 pm

parse N logs

Post by log_troll »

Hi - here are the situations I am trying to solve:

1. I have rolling log appenders, so in the course of a run I have log file 1.. n
2. I would like to parse log files 1..n for a sequence of events, for example parser launched, DB accessed, stuff, parser exited, and as you can imagine these events can occur in any of the 1..n files.

Situation 2:
1. I want to parse log files 1..n and have an alert pop when certain error conditions occur.

Can someone point me in the right direction on how I might go about solving these?

TIA
admin
Site Admin
Posts: 555
Joined: Sun Dec 17, 2006 10:30 pm

Re: parse N logs

Post by admin »

Hello,

The most simple way of achieving this is:
  1. On the box that produces these logs, start LogMX and go to "File" > "Open"
  2. At the top of the window (choice of "Log Manager"), choose "Local directory manager"
  3. Choose the directory that contains your logs, and the file name pattern (e.g. "*.log", or "myapp.*", or "*.*"...)
  4. If you want to use Alerts on these files, check "Auto-refresh" (then once the merge view is displayed, go to "Tools" > "Alerts"
Pleas let us know if you have trouble using this feature.
Xavier
Post Reply