Install on a Unix-like box
The hostname of the machine on which you install the relay must not contain dots.
These instructions are based on a Redhat system using the yum package manager. You can replace yum with the package manager you use for your Linux distribution.
Before you begin
Install dialog, java, and wget before installing the relay.
Ensure that the $PATH environment variable includes /usr/local/bin.
Installing the relay
Download, decompress, and install the relay package.
Reload the environment:
Ensure that the environment has been updated.
If it has not been updated, log in again.
Now, run this command to launch the configuration utility.
The utility takes you through the steps required to set up the secure connection with the Devo Cloud for your region.
The first step is to enter a name for the new relay. This is not the hostname; it's the relay name that will appear in the Devo web application in Administration → Relays.
The relay name can contain a maximum of 50 characters and cannot contain periods or special characters.
Next you enter the endpoint for the Devo Cloud. Enter the endpoint for your region:
Enter the port as 443. This is the fixed inbound port on the Devo Cloud.
Now enter the API Key for the Devo domain to which you will be forwarding events.
Go to Administration → Credentials in the Devo web application to copy the API Key.
Now enter the API Secret for the Devo domain to which you will be forwarding events.
Go to Administration → Credentials in the Devo web application to copy the API Secret.
Click Yes if the relay requires a proxy to reach the internet. If you do, you can enter the proxy address in the next screen. Otherwise, click No. This concludes the setup process. Click OK.
Returning to the terminal, navigate to the /etc/logtrust/relay/ directory and open the logtrust.conf file in your favorite editor.
Edit the URLs for the first two parameters to reflect the Devo region in which your domain resides. Below is a sample file edited for the Europe region.
logtrust.services.url = "https://eu.devo.com/domain/clientrelay.json" logtrust.services.downloadHomeRelayConfig.url = "https://eu.devo.com/domain/clientrelay/config" api.key = "7f63f5cea3exxxxxxc113769861800118669687934f9axxxxxx117cea7da344a" api.secret = "09165fdxxxxxx0d28ef341cb8eb392fdfe253cf4f2axxxxxxa435f56656867a3" hardware.id = "relay01" relay.address = "10.0.2.15" proxy.host = "None" proxy.port = "0"
- Now you can activate the relay. Go to Administration → Relays and click the Activate button that appears in the new relay's row in the Relay list.
To confirm that the relay is operating correctly, follow our procedure to send test events and make sure they are saved in your Devo domain.
You can now start sending information from your data sources to the new Devo Relay and create the relay rules for event processing.