Sidecar
😋 Powered by Graylog Sidecar.
LeonaAgent V1.0 is coming, only for LeonaLog collectting log data.
Leona Sidecar is a lightweight configuration management system for different log collections, also called Backends
. The leona node(s) acts as a centralized hub containing the configurations of log collections. On supported message-producing devices/hosts, sidecar can run as a serivce or daemon.
Installation
You can get .deb
or .rpm
packages for LeonaLog Sidecar in our package repository.
CentOS
Install the sidecar repository configuration and sidecar itself with the following commands:
Edit the configuration (see Sidecar Configuration) and active the sidecar as a system service:
Ubuntu
Install the sidecar repository configuration and sidecar itself with the following commands:
Edit the configuration (see Sidecar Configuration ) and activate the Sidecar as a system service:
Sidecar Configuration
Configuration example:
Parameter descriptions:
server_url
: URL to the leona API, e.g.http://192.168.120.100:9000/api/
server_api_token
: The API token to use to authenticate against the leona server API. Note: The token is mandatory and needs to be configured.node_id
: The node ID of the sidecar. This can be a path to a file or an ID string. Node: Every sidecar instance needs a unique ID.node_name
: Name of the sidecar instance.update_interval
: The interval where the sidecar will fetch new configurations from the leona server in seconds. The default is 10.tls_skip_verify
: This configures if the sidecar should skip the verification of TLS connections. The default is false.send_status
: This controls the transmission of detailed sidecar information like collector status, metrics and log file lists. It can be disabled to reduce load on the leona server if needed. The default is true.list_log_files
: Send a directory listing to leona and display it on the host status page, e.g./var/log
. This can also be a list of directories. The default is[]
.cache_path
: The directory where the sidecar stores internal data.collector_configuration_directory
: The directory where the sidecar generates configurations for collectors.log_path
: The directory where the sidecar stores its logs. The default is/var/log/graylog-sidecar
.log_rotate_max_file_size
: The maximum size of the log file before it gets rotated. The default is 10MiB.log_rotate_keep_files
: The maximum number of old log files to retain.collector_binaries_accesslist
: A list of binaries that are allowed to be executed by the sidecar. An empty list disables the access list feature.
Last updated