diff --git a/doc/Extensions/Graylog.md b/doc/Extensions/Graylog.md index 8e9c1f9852..5ac5240d69 100644 --- a/doc/Extensions/Graylog.md +++ b/doc/Extensions/Graylog.md @@ -14,14 +14,14 @@ to your rsyslog config to send the full FQDN so device logs will be associated c Graylog itself isn't included within LibreNMS, you will need to install this separately either on the same infrastructure as LibreNMS or as a totally standalone appliance. -Config is simple, here's an example: +Config is simple, here's an example based on Graylog 2.4: ```php $config['graylog']['server'] = 'http://127.0.0.1'; -$config['graylog']['port'] = 12900; +$config['graylog']['port'] = 9000; $config['graylog']['username'] = 'admin'; $config['graylog']['password'] = 'admin'; -$config['graylog']['version'] = '2.1'; +$config['graylog']['version'] = '2.4'; ``` Graylog messages are stored using GMT timezone. You can display graylog messages in LibreNMS webui using your desired timezone by setting following option in config.php: @@ -31,10 +31,8 @@ $config['graylog']['timezone'] = 'Europe/Bucharest'; ``` > Timezone must be PHP supported timezones, available at: http://php.net/manual/en/timezones.php -> Since Graylog 2.1, the default API path is /api/ - If you are running a version earlier than Graylog then please set `$config['graylog']['version']` to the version -number of your Graylog install. +number of your Graylog install. Earlier versions than 2.1 use the default port `12900` If you have altered the default uri for your Graylog setup then you can override the default of `/api/` using `$config['graylog']['base_uri'] = '/somepath/';`