Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
b4a1dea
Ignore copilot file in .github
untergeek Sep 1, 2026
484b182
docs: 0.5.2 multi-database design spec
untergeek Sep 1, 2026
be2aa89
docs: 0.5.2 multi-database implementation plan
untergeek Sep 1, 2026
f656719
build: add postgres/mysql/databases install extras
untergeek Sep 1, 2026
eb9dcba
test: specify multi-engine build_databases behavior
untergeek Sep 1, 2026
0727224
feat: wire PostgreSQL and MySQL Django backends from env
untergeek Sep 1, 2026
662af0b
fix: spoof PyMySQL version_info for Django 6 mysql backend
untergeek Sep 1, 2026
35c0c40
feat: gunicorn pidfile and SQLite scale warning
untergeek Sep 1, 2026
aa8349c
test: mock check_server_version in serve SNMP test
untergeek Sep 1, 2026
31a12a0
test: Docker Postgres/MariaDB/MySQL matrix script
untergeek Sep 2, 2026
3dfac3a
fix: propagate pytest failures from test_databases.bat
untergeek Sep 2, 2026
ad87c4f
feat: BETA migrate-engine sqlite to postgres/mysql
untergeek Sep 2, 2026
d0d3dbc
fix: unlink gunicorn pidfile after migrate-engine SIGTERM
untergeek Sep 2, 2026
2b63f0b
test: live sqlite dump/load onto Postgres MariaDB MySQL
untergeek Sep 2, 2026
24d8975
docs: multi-engine env, systemd, Docker extras, CI matrix
untergeek Sep 2, 2026
9331676
docs: dump sqlite before switching LOGSTASHUI_DB_*
untergeek Sep 2, 2026
470665a
fix: migrate-engine dump uses package path; reset sequences without psql
untergeek Sep 2, 2026
13f07a6
docs: expand 0.5.2 CHANGELOG for multi-database
untergeek Sep 2, 2026
d54f9f1
fix: fail-fast DB floors before migrate; review nits
untergeek Sep 2, 2026
52db963
docs: note BETA migrate-engine is not atomic on the target
untergeek Sep 2, 2026
fcacf59
Add examples & fix ALLOWED_HOSTS in k8s
untergeek Sep 2, 2026
0ef9af9
docs: air-gapped freeze design spec
untergeek Sep 2, 2026
90b3351
feat: optional air-gapped freeze script
untergeek Sep 2, 2026
ea65675
Moved these files to be not tracked
untergeek Sep 2, 2026
638acfb
feat: LS version pill, VERSION binary path, unreleased agent
untergeek Sep 3, 2026
ebc3305
Improve testing...
untergeek Sep 3, 2026
73dcc51
fix: CI database testing
untergeek Sep 3, 2026
d544581
fix: FULLY honor LOGSTASHUI_TLS env var
untergeek Sep 3, 2026
c396829
Migrated all tests to be in tests/
untergeek Sep 3, 2026
1fe7ef1
The tests that were relocated are now added
untergeek Sep 3, 2026
5016bab
Fixed bugs that came up during testing
untergeek Sep 3, 2026
8eaf014
Add basic API access to the apps
untergeek Sep 3, 2026
51c9e0a
Massive collection of repairs and new functionality
untergeek Sep 4, 2026
72ebfbf
Update version 0.5.1 to 0.5.2
untergeek Sep 4, 2026
121b2a4
fix: log ERROR when LOGSTASHUI_OTEL=true but [otel] is missing
untergeek Sep 4, 2026
89804eb
feat: install LogstashUI[otel] in the image and freeze artifacts
untergeek Sep 4, 2026
85b634f
docs: OTEL env table, commented ConfigMap keys, [otel] in the image
untergeek Sep 4, 2026
d57a705
fix: init OpenTelemetry before Django builds the WSGI handler
untergeek Sep 4, 2026
d8e8e57
test: mocked OTEL success path; setup Django before instrument()
untergeek Sep 4, 2026
4cc4edb
test: preferred LogstashAgent pin is 0.5.2 (lockstep with UI)
untergeek Sep 4, 2026
ff9dcf4
docs: LogstashUI and LogstashAgent current pins are 0.5.2
untergeek Sep 4, 2026
bd69cf8
test: smoke LogstashUI[otel] in wheelhouse and pre-built images
untergeek Sep 4, 2026
26ef681
feat: add LOGSTASHUI_INSECURE_HTTP helpers
untergeek Sep 4, 2026
f27b6af
feat: honor LOGSTASHUI_INSECURE_HTTP in Django settings
untergeek Sep 4, 2026
0872734
feat: skip gunicorn TLS when LOGSTASHUI_INSECURE_HTTP is set
untergeek Sep 4, 2026
e4d50c6
feat: skip product CA when LOGSTASHUI_INSECURE_HTTP is set
untergeek Sep 4, 2026
0179dbe
feat: skip CA download and CSR signing in insecure HTTP mode
untergeek Sep 4, 2026
63228cf
feat: force http:// on agent and UI callback URLs when insecure
untergeek Sep 4, 2026
0de91ae
feat: show insecure HTTP on Management TLS settings
untergeek Sep 4, 2026
16df62a
docs: warn that LOGSTASHUI_INSECURE_HTTP is a last-resort escape hatch
untergeek Sep 4, 2026
48da16a
fix: do not mutate UI certs when LOGSTASHUI_INSECURE_HTTP is set
untergeek Sep 4, 2026
e3b6af4
fix: 409 TLS upload and revert when insecure HTTP is on
untergeek Sep 4, 2026
52ce19f
fix: hide TLS upload and revert when insecure HTTP is on
untergeek Sep 4, 2026
6747611
docs: insecure HTTP is not the Compose or Kubernetes default
untergeek Sep 4, 2026
5a41499
docs: add Kubernetes embedded-agent overlay
untergeek Sep 4, 2026
1eba16a
docs: comment LOGSTASH_AGENT_URL on K8s example ConfigMaps
untergeek Sep 4, 2026
d10a2bc
docs: comment LOGSTASHUI_AGENT_CSR_SECRET on K8s example Secrets
untergeek Sep 4, 2026
d7cb471
docs: document Kubernetes embedded agent overlay
untergeek Sep 4, 2026
03c3e79
docs: point agent URL and CSR secret at K8s embedded overlay
untergeek Sep 4, 2026
8cb9ffb
docs: CHANGELOG Kubernetes embedded-agent overlay
untergeek Sep 4, 2026
cfb9eee
Update the k8s example values to be consistent.
untergeek Sep 5, 2026
9363561
Missed the README in the last commit
untergeek Sep 5, 2026
fe09afc
Merge pull request #198 from elastic/feat/sqleng
Codyjackson0321 Sep 5, 2026
0e6d1b6
refactor: adjusted SNMP devices to be allowed to take IP6 addresses too
Codyjackson0321 Sep 5, 2026
2a37aa4
docs: updated build.md to include how to setup git precommit
Codyjackson0321 Sep 5, 2026
bbfb6e4
fix: updated logging file handler so that it works on Windows
Codyjackson0321 Sep 5, 2026
85db518
fix: resolved a bug that caused the pink color we use for cancel icon…
Codyjackson0321 Sep 5, 2026
9ec1558
fix: resolved an ugly error message users would see if they had alrea…
Codyjackson0321 Sep 5, 2026
a531fa9
fix: resolved a bug where changing connection type from cloud id to u…
Codyjackson0321 Sep 5, 2026
47d8e86
refactor: added a confirmation dialogue to modal close handlers for m…
Codyjackson0321 Sep 6, 2026
d83f3ad
chore: updated changelog
Codyjackson0321 Sep 6, 2026
81189fb
Merge pull request #199 from elastic/fix/0.5.2-bugfixes1
Codyjackson0321 Sep 6, 2026
5952461
chore: updated tests
Codyjackson0321 Sep 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/offline-freeze.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
#or more contributor license agreements. Licensed under the Elastic License;
#you may not use this file except in compliance with the Elastic License.

name: Offline wheels freeze

on:
workflow_dispatch:

jobs:
wheels:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v4
with:
python-version: "3.12"
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Freeze wheelhouse
run: bash bin/freeze_logstashui.sh --wheels
- name: Network-none install smoke
run: bash bin/test_freeze_wheels.sh
24 changes: 24 additions & 0 deletions .github/workflows/test-databases.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
#or more contributor license agreements. Licensed under the Elastic License;
#you may not use this file except in compliance with the Elastic License.

name: Database matrix

on:
pull_request:
push:
branches: [main, master]

jobs:
db:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v4
with:
python-version: "3.12"
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Run database matrix
run: bash bin/test_databases.sh
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,6 @@ __marimo__/
# LogstashUI
/src/logstashui/staticfiles/
/src/logstashui/data/
/.plans/

# Local config (use logstashui.example.yml)
/src/logstashui/logstashui.yml
Expand All @@ -233,6 +232,7 @@ __marimo__/
/docker/logstashui_data/

# Agentic / local tooling scratch (not product docs)
/.plans/
.grokignore
/docs/superpowers/
.hermes.md
Expand All @@ -242,6 +242,8 @@ CLAUDE.md
.cursorrules
IDEA.md
graphify-out/
.github/copilot-instructions.md
/scratch/

# LogstashAgent (cloned from GitHub in host mode)
/LogstashAgent/
Expand Down
106 changes: 106 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

190 changes: 190 additions & 0 deletions NOTICE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2398,3 +2398,193 @@ Redistribution and use in source and binary forms, with or without modification,

This software is provided by the copyright holders and contributors “as is” and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.


-------------- psycopg --------------
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.


This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.

0. Additional Definitions.

As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.

"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.

An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.

A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".

The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.

The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.

1. Exception to Section 3 of the GNU GPL.

You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.

2. Conveying Modified Versions.

If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:

a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or

b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.

3. Object Code Incorporating Material from Library Header Files.

The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:

a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.

b) Accompany the object code with a copy of the GNU GPL and this license
document.

4. Combined Works.

You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:

a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.

b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.

c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.

d) Do one of the following:

0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.

1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.

e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)

5. Combined Libraries.

You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:

a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.

b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.

6. Revised Versions of the GNU Lesser General Public License.

The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.

If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.


-------------- PyMySQL --------------
Copyright (c) 2010, 2013 PyMySQL contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
>
> ⚠️ **Beta Release** - This project is under active development. Features may change.
>
> **Current package version: 0.5.1** — see [CHANGELOG.md](CHANGELOG.md). Pair with **LogstashAgent 0.5.1**. Operator guide: [agent roles / ports / coexistence / VERSION](docs/docs/logstashagent/general/roles.md).
> **Current package version: 0.5.2** — see [CHANGELOG.md](CHANGELOG.md). Pair with **LogstashAgent 0.5.2**. Operator guide: [agent roles / ports / coexistence / VERSION](docs/docs/logstashagent/general/roles.md).

<img src="docs/images/simulate.png" width="100%">

Expand Down
Loading
Loading