#!/usr/bin/env perl

use warnings;
use centreon::script::logAnalyserBroker;

centreon::script::logAnalyserBroker->new()->run();

__END__

=head1 NAME

logAnalyserBroker - a script to rebuild archive when we use centreon-broker

=head1 SYNOPSIS

logAnalyser [options]

=head1 OPTIONS

=over 8

=item B<-p|--poller <value>>

Load data from log archives to database from a specific
poller. <value> corresponds to the poller identifier.

=item B<-s|--startdate <mm-dd-yyyy>>

When parsing archives, start from a specific day.

=item B<--config>

Specify the path to the main configuration file (default: /etc/centreon/conf.pm).

=item B<--logfile>

Write log messages into this file instead of the standard output.

=item B<--help>

Print a brief help message and exits.

=back

=head1 DESCRIPTION

B<logAnalyserBroker> will read nagios/centreon-engine archive log files to load their content into 
'logs' table in 'centstorage' database.

=cut
