andre Ruiz Graylog

  • By Andre Ruiz
Channel Revision Published Runs on
latest/stable 0 10 Jun 2021
Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
juju deploy andre-ruiz-graylog
Show information

Platform:

Ubuntu
20.04 18.04 16.04

Learn about configurations >

  • beats_port | int

    Default: 5044

    TCP port for Beats input when relation is joined

  • channel | string

    Default: 2/stable

    Snap channel used to install/refresh the graylog snap. This option has no effect when a valid graylog.snap resource is attached.

  • elasticsearch_cluster_name | string

    If the elastic search cluster name is not passed in the relation set it here.

  • index_replicas | int

    Number of Elasticsearch replicas used per index in this index set.

  • index_retention_count | int

    Default: 6

    Maximum number of indices to keep before deleting the oldest ones

  • index_rotation_msg_count | int

    Default: 20000000

    When rotation strategy is "msg_count", maximum number of documents in an index before it gets rotated

  • index_rotation_period | string

    Default: P7D

    When rotation strategy is "time" based, rotation period (ISO8601 Duration) - How long an index gets written to before it is rotated.

  • index_rotation_size | int

    Default: 1073741824

    When rotation strategy is "size" based, maximum size of an index before it gets rotated. Defaults to 1073741824 (1GB).

  • index_rotation_strategy | string

    Default: time

    Type of rotation strategy ("time" based, "size" based, no. messages "msg_count").

  • index_shards | int

    Default: 2

    Number of Elasticsearch shards used per index in this index set. Set this to '0' to let the charm automatically calculate based on how many Elasticsearch units.

  • jvm_heap_size | string

    Default: 1G

    JVM Heap memory size (default 1G)

  • log_inputs | string

    YAML-formatted list of log inputs. First input gets passed through relations. Any input not defined here will be removed unless it is prefixed with "Custom" in the title.

  • max_check_attempts | string

    The maxiumum number of attempts to check the via nrpe a service before switching an alert to HARD status rather than SOFT. Default for Nagios is 4, if this is set, the default will be overwritten for the Graylog Health check only.

  • nagios_context | string

    Default: juju

    Used by the nrpe-external-master subordinate charm. A string that will be prepended to instance name to set the host name in nagios. So for instance the hostname would be something like: juju-myservice-0 If you're running multiple environments with the same services in them this allows you to differentiate between them.

  • nagios_servicegroups | string

    A comma-separated list of nagios servicegroups. If left empty, the nagios_context will be used as the servicegroup.

  • nagios_uncommitted_crit | int

    Default: 2048

    Number of journaled uncommitted messages that will generate a nagios CRITICAL alert

  • nagios_uncommitted_warn | int

    Default: 1024

    Number of journaled uncommitted messages that will generate a nagios WARN

  • rest_transport_uri | string

    Default: http://0.0.0.0:9001/api/

    This setting is only required when external access to the Graylog nodes is required to pass through a proxy/load balancer. This address is used by the Web Interface to access the REST API. For Graylog 2, the proxy should connect back to the Graylog node on port 9001 (the default). For Graylog 3, this setting is ignored. `web_endpoint_uri` is used as the universal proxy setting. * If the ip address 0.0.0.0 is specified, the charm will attempt to deduct the network interface that is used for connections to the default gateway and use the associated ip address.

  • snapd_refresh | string

    How often snapd handles updates for installed snaps. The default (an empty string) is 4x per day. Set to "max" to check once per month based on the charm deployment date. You may also set a custom string as described in the 'refresh.timer' section here: https://forum.snapcraft.io/t/system-options/87

  • transport_email_auth_password | string

    If your email relay in transport_email_hostname requires authentication set the password here and the username in transport_email_auth_username. Only used if transport_email_hostname is set.

  • transport_email_auth_username | string

    If your email relay in transport_email_hostname requires authentication set the username here and the password in transport_email_auth_password. Only used if transport_email_hostname is set.

  • transport_email_from_email | string

    The email address alert notifications should be sent as. Only used if transport_email_hostname is set.

  • transport_email_hostname | string

    Graylog supports limited alert notifications via email. To enable, set this to a host that will relay mail for us.

  • transport_email_port | int

    Default: 25

    Port to send mail through at transport_email_hostname. Reasonable values include 25 (normal SMTP), 587 (SMTP submission), and 465 (SMTPS). Only used if transport_email_hostname is set.

  • transport_email_subject_prefix | string

    Default: [graylog]

    When sending email alerts, include this string in the Subject. Only used if transport_email_hostname is set.

  • transport_email_use_ssl | boolean

    Set to True to use SMTP over SSL (SMTPS). Only set transport_email_use_tls or transport_email_use_ssl to true, not both. Setting both to false is needed when you want to sent via unencrypted connection. Only used if transport_email_hostname is set.

  • transport_email_use_tls | boolean

    Set to True to use SMTP with STARTTLS. Only set transport_email_use_tls or transport_email_use_ssl to true, not both. Setting both to false is needed when you want to sent via unencrypted connection. Only used if transport_email_hostname is set.

  • web_endpoint_uri | string

    This setting is only required when external access to the Graylog nodes is required to pass through a proxy/load balancer. This address is used by the Web Interface to download secondary assets (JavaScript/CSS/etc). This setting should be the public address of the proxy, which will direct traffic to Graylog. For Graylog 2, the proxy should connect back to the address set in 'web_listen_uri' *. The 'web_listen_uri' will be used as the default value if this config is left blank. For Graylog 3, the proxy should connect back to the Graylog node on port 9000 (the default). If this config is left blank, the charm will attempt to determine the correct network interfance *. * If the ip address 0.0.0.0 is specified, the charm will attempt to deduct the network interface that is used for connections to the default gateway and use the associated ip address.

  • web_listen_uri | string

    Default: http://0.0.0.0:9000/

    For Graylog 2, this URI specifies which IP and port Graylog will LISTEN to for the Web Interface. For Graylog 3, this setting is ignored. The Web Interface and REST API listen on the same IP and port.