{% extends 'base/layout.html' %} {% load form_helpers %} {% block title %}Graylog Settings{% endblock %} {% block header %}

Graylog Plugin Settings

{% endblock header %} {% block content %}
Graylog Configuration
Note: Settings are configured in NetBox's configuration.py file. This page shows current settings and allows testing the connection.
{% csrf_token %}
Connection Settings
{{ form.graylog_url }} {{ form.graylog_url.help_text }}
{{ form.graylog_api_token }} {{ form.graylog_api_token.help_text }}

Query Settings
{{ form.log_limit }} {{ form.log_limit.help_text }}
{{ form.time_range }} {{ form.time_range.help_text }}
{{ form.timeout }} {{ form.timeout.help_text }}
{{ form.cache_timeout }} {{ form.cache_timeout.help_text }}

Search Options
{{ form.search_field }} {{ form.search_field.help_text }}
{{ form.use_fqdn }}
{{ form.use_fqdn.help_text }}
{{ form.fallback_to_ip }}
{{ form.fallback_to_ip.help_text }}
Connection Test

Test connectivity to the Graylog API using current settings.

Configuration Help

Add to configuration.py:

PLUGINS = ['netbox_graylog']

PLUGINS_CONFIG = {
    'netbox_graylog': {
        'graylog_url': 'http://graylog:9000',
        'graylog_api_token': 'your-token',
    }
}
Documentation
{% endblock %}