Alert Logic Log Manager for Rackspace Public Cloud (Linux remote collector)
Download the remote collector
To download a remote collector:
- In the Alert Logic console, click the Settings icon (), and then click Support Information.
- From the Details page, click Install Guides & Downloads.
- In the left navigation area, click Log Management.
- Click Collectors.
- Download the appropriate collector and follow the on-screen instructions.
- Click the Details tab.
- Copy your unique registration key. You will need this later to install the remote collector.
Install the remote collector for Linux
Install the remote collector for RPM-based distributions
To install a remote collector:
- Download the RPM package to the target machine.
- Run the following commands and replace <version> and <UNIQUEREGISTRATIONKEY> with the desired version and your Unique Registration Key, respectively.
- rpm -u al-log-syslog-<version>*.rpm
- /etc/init.d/al-log-syslog provision --key <UNIQUEREGISTRATIONKEY>
- /etc/init.d/al-log-syslog start
- Direct all syslogs to the remote collector on inbound port 1514.
- If you use an rsyslog daemon, add the following line to rsyslog.conf:
*.* @@yourIPaddress:1514;RSYSLOG_FileFormat
This configuration will direct your local syslog to the remote collector on UDP port 1514.
- If you use a syslog-ng daemon, add the following lines to syslog-ng.conf
- destination
- d_alertlogic {tcp("yourIPaddress" port(1514));};
- log { source(s_src); yourIPaddress(d_alertlogic); };
This configuration will direct your local syslog to the remote collector on UDP port 1514.
Install the remote collector for Debian-based distributions
To install a remote collector:
- Download the Debian package to the target machine.
- Run the following commands and replace <version> and <UNIQUEREGISTRATIONKEY> with the desired version and your Unique Registration Key, respectively.
- dpkg -i al-log-syslog-<version>*.deb
- /etc/init.d/al-log-syslog provision --key <UNIQUEREGISTRATIONKEY>
- /etc/init.d/al-log-syslog start
- If you use an rsyslog daemon, add the following line to rsyslog.conf to configure your syslog device to forward logs to port 1514: *.* @@yourIPaddress:1514;RSYSLOG_FileFormat
- If you use a syslog-ng daemon, add the following lines to syslog-ng.conf:
- destination d_alertlogic {tcp("yourIPaddress" port(1514));};
- log { source(s_src); yourIPaddress(d_alertlogic); };
This configuration will direct your local syslog to the remote collector on UDP port 1514.
Create a collection alert rule
You can create a collection alert in Alert Logic Log Manager to receive notification if collection stops for any reason.
You must first create a collection alert and then apply the alert to the source.
To create a collection alert:
- At the top of the Alert Logic console, from the drop-down menu, select Log Manager.
- In the left navigation, under Alert Rules, click Collection.
- In the table of alert rules, in the Actions column, click the gear icon (), and select New Collection Alert.
- In Collection Alert Name, type a descriptive name.
- In Time without logs, type a number value in minutes.
- In Time Between Alert Occurrences, type a number value in minutes.
You cannot specify a number value of more than 3,600.
- In Email Addresses, type an email address. To add multiple email addresses, separate each entry with a comma.
- Select Send Alert Once to receive alerts only once.
- Click Save
Apply a collection alert rule
To apply the collection alert to a log source:
- In the left navigation, under Collection, click Sources.
- In Select Some Options, click the empty and select a log source type and then click Apply Filters.
- In the table of log sources, in the Actions column, click the gear icon ().
- Select Mass Edit.
- In Apply changes to, select All Sources.
- Select Only Selected Sources to choose an individual log source from the table.
- Select your collection alert in Collection Policy.
- Click Apply.