{% extends 'base.html' %} {% block content %}

Nginx Monitor Settings

Cluster connection & local testing

{% for msg in messages %}
{{ msg }}
{% endfor %}

Cluster Connection

Configured once. The scheduler uses these to run kubectl logs on a timer.

{% csrf_token %} {% for field in form %}
{{ field }} {% if field.help_text %}

{{ field.help_text }}

{% endif %} {% for error in field.errors %}

{{ error }}

{% endfor %}
{% endfor %}

Test Locally — Paste Log Lines

No kubectl needed. Paste raw nginx ingress log lines and they'll be parsed and stored immediately, so you can preview the dashboard with real data.

{% csrf_token %} {% for field in paste_form %}
{{ field }}
{% for error in field.errors %}

{{ error }}

{% endfor %}
{% endfor %}
Duplicates are automatically skipped.

Or via the management command:

# From a file
python manage.py nginxmon_ingest --file /path/to/nginx.log

# Pipe from kubectl directly
kubectl logs -n ingress-nginx \
  -l app.kubernetes.io/name=ingress-nginx \
  --container controller | python manage.py nginxmon_ingest

# Re-run the configured source (kubectl or file)
python manage.py nginxmon_ingest --from-settings
{% endblock %}