Install LogMX Daemon Service Linux

For those who have trouble installing LogMX

Moderator: admin

Post Reply
maxgood80
Posts: 1
Joined: Fri Jan 11, 2013 2:30 pm

Install LogMX Daemon Service Linux

Post by maxgood80 » Fri Jan 11, 2013 2:36 pm

Hi, my name es Maximiliano, I have a question for you.. Im testing this tool for monitoring jetty application server log files. I need execute LogMX mode console background (like a daemon service). IS IT POSSIBLE?
Where can I find this information?
Sorry for my english, is very bad...
Best Regards
Maxi

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

Re: Install LogMX Daemon Service Linux

Post by admin » Mon Jan 14, 2013 4:27 pm

Hello Maximiliano,

Yes, LogMX can run in console mode.
You shall first configure it using its graphical interface if you need (tune parsers, managers, settings, alerts, ...), then run it in console mode (i.e. without any graphical interface).
To start it in console mode, use the option "--console" in command line (Windows, Linux, or Mac). Simply go to into LogMX directory and type "logmx.sh --console" (Linux/Mac) or "LogMX --console" (Windows) to see the list of available parameters:

Code: Select all

 logmx --console <options> <file 1> [... [<file N>]]

Where <options> is one of:
  --export <csv|xml|html> [--allentries] [--allfields] --output <output_file>
    * Export log file(s) to <output_file> using the specified output format.
    * If [--allentries] is specified, all file(s) entries will be exported
      (current export/display preferences ignored).
    * If [--allfields] is specified, all entry fields will be exported
      (current export/display preferences ignored).

  --monitor "<alert_name 1> [, ... [, <alert_name N>]]" [--verbose]
    * Monitor log file(s) with specified alert(s).
    * Do not forget quotes ("") around alerts list.
    * If [--verbose] is specified, processed alerts will be displayed
      in console.

  --help
     Display command line help
Xavier

Post Reply