Table of Contents | ||||||
---|---|---|---|---|---|---|
|
...
Info |
---|
If you are running Ubuntu 8.2 stable or later, you can skip this step because you will already have this package. Run |
In DEB environments | In RPM environments | |
---|---|---|
|
|
Download and save the certificates
Go to Administration → Credentials → X.509 Certificatescertificates in the Devo web application. Download the Certificate, Private key, and Chain CA. Save them all to to
/etc/rsyslog.d/
.Restrict the access permissions to these files to the syslog user:
Code Block cd /etc/rsyslog.d/ chmod 640 ca.crt user.crt user.key chown :syslog ca.crt user.crt user.key -rw-r----- 1 root syslog 2090 Oct 24 13:02 ca.crt -rw-r----- 1 root syslog 1529 Oct 24 13:18 user.crt -rw-r----- 1 root syslog 1675 Oct 24 13:18 user.key
Create the Devo configuration files
You need to create two files in the /etc/rsyslog.d/
directory. The 00-devo.conf
file contains general connection settings. The 49-devo.conf
file is responsible for forwarding the events to the Devo Relay.
The 00-devo.conf file
This file contains general connection settings. Create it with the following contents.
...
Again, the added/modified parameters are:
Parameter | Value |
---|---|
| They must be |
| It must have the same value as |
| This is the host address for the Devo Cloud for the region you are using. It should be one of:
|
Restart rsyslog
After creating and saving the new files, restart rsyslog to activate the new configuration:
...
Code Block |
---|
logger "Hello from machine01"
logger "Hello from machine01"
logger "Hello from machine01"
logger "Hello from machine01"
logger "Hello from machine01"
|
In the Devo web application, go to Data Searchsearch. Open the box.unix
data table to confirm that these logger events were forwarded and received correctly.
...