Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Go to Administration → Credentials → X.509 Certificates in the Devo web application.
    - Download the Certificate and Private key to /etc/syslog-ng/key.d/. 
    - Download the Chain CA to /etc/syslog-ng/ca.d/.

  2. Limit the permissions to the Certificate and Private key files in /etc/syslog-ng/key.d/ using this command:

    Code Block
    cd /etc/syslog-ng/key.d/; chmod 600 domain.crt domain.key
     
    -rw------- 1 root root 1529 Oct 24 13:18 domain.crt
    -rw------- 1 root root 1675 Oct 24 13:18 domain.key
    

Edit the syslog-ng.conf file

...

In the destination, you will notice that the template assigns box.unix as the first two tag levels for all system log events.

Info

Preventing event loss

To prevent event lost, we recommend you add the optionfollowing:
options {
    mark-freq (30);
};

Restart syslog-ng

Once you have edited the syslog-ng.conf file, restart syslog-ng to activate the new configuration:

Code Block
/etc/init.d/syslog-ng restart

With the configuration activated, syslog-ng will begin to forward the events to your Devo Cloud.

...

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.

...