Skip to content

Releases: spreadshirt/es-stream-logs

1.34.3 - histograms large and small 📊

24 Sep 13:29
a545a7d
Compare
Choose a tag to compare

Fixed a bug with the default histogram when there are larger differences between histogram bar document counts.

What's Changed

  • Fix histogram when there are larger differences in document count by @heyLu in #38

Full Changelog: 1.34.2...1.34.3

1.34.2 - repairin' some emoji(s)

02 Sep 11:51
ca37a2e
Compare
Choose a tag to compare

They got broken at some point, why may remain a mystery across time. Now they are fixed. :)

What's Changed

  • Fix emoji (to use some that actually exist) by @heyLu in #37
  • Fix build on Python 3.12 by updating dependencies by @heyLu in #36
  • Lots of dependency updates courtesy of @dependabot

Full Changelog: 1.34.1...1.34.2

1.34.1 - nanosecond, what nanosecond? 🕰️

12 Mar 15:41
97bcf48
Compare
Choose a tag to compare

Some components send sub-microsecond timestamps, which Python can't parse by itself. We now support these timestamps by chopping off the sub-microsecond timestamps and moving happily along. The UI will still display the original timestamps, but we ignore it internally.

What's Changed

  • Accept (but ignore) doc timestamps with nanosecond precision by @heyLu in #26

Full Changelog: 1.34.0...1.34.1

1.34.0 - highlight unaggregated values 👻

26 Feb 09:22
641c996
Compare
Choose a tag to compare

When using aggregation_terms we now display bars in the histogram for values that don't have
the aggregated field. E.g. when aggregating on status.code we now show gray bars if there are
documents that don't have that field. In practice it looks like this:

2024-02-15T11:14:24,951855952+01:00

Other than that we now support Python 3.12 and a bunch of dependencies have been updated.

What's Changed

Full Changelog: 1.33.0...1.34.0

1.33.0 - support multiple elasticsearch hosts 🤹🏼

13 Dec 15:40
be5778c
Compare
Choose a tag to compare

es-stream-logs now supports multiple elasticsearch hosts for each endpoint. This is supported by all ElasticSearch clients, now we do as well, making the config a bit more flexible.

This is a breaking change to the config, but the change is simple to do, endpoints is now a map from a string to a list of hosts:

diff --git a/config.json b/config.json
index ab037b9..66a77a2 100644
--- a/config.json
+++ b/config.json
@@ -1,10 +1,10 @@
 {
   "default_endpoint": "local",
   "endpoints": {
-    "local": {"url": "http://localhost:9200"},
-    "dc3": {"url": "https://elasticsearch-dc3.example.com:443"},
-    "dc1": {"url": "https://elasticsearch-dc1.example.com:443"},
-    "dc2": {"url": "https://elasticsearch-dc2.example.com:443"}
+    "local": ["http://localhost:9200", "http://localhost:9201"],
+    "dc3": ["https://elasticsearch-dc3.example.com:443"],
+    "dc1": ["https://elasticsearch-dc1.example.com:443"],
+    "dc2": ["https://elasticsearch-dc2.example.com:443"]

1.32.3 - more small fixes

21 Nov 09:41
f97f6a1
Compare
Choose a tag to compare

This release contains one fix to error handling where a now-removed exception was used and a few dependency updates courtesy of @dependabot.

What's Changed

Full Changelog: 1.32.2...1.32.3

1.32.2 - fix xss vulnerability 🔓

22 Sep 08:51
f5f0c4d
Compare
Choose a tag to compare

This fixes an XSS vulnerability that was possible when an attacker has control over the fields used in field_format. See #12 for details.

Our CSP header prevented execution of injected inline JavaScript, but may not have caught everything. If you'd like to look for more security issues like this, have a look at the following:

What's Changed

Full Changelog: 1.32.1...1.32.2

1.32.1 - dependency updates!

13 Jun 09:41
f033f03
Compare
Choose a tag to compare

Some updates to dependencies, as pointed out by @dependabot.

  • #9 Bump requests from 2.28.2 to 2.31.0
  • #8 Bump starlette from 0.25.0 to 0.27.0 (includes fastapi update)

1.32.0 - aggregation colours per-line

21 Apr 11:52
3bfd4bd
Compare
Choose a tag to compare

The colours that were displayed in the histogram based on the aggregation_terms parameter, are now also displayed on each log line. This should make the different types of log lines easier to distinguish at a glance, e.g. with aggregation_terms=level they could be coloured based on the log level.

The colours should match the ones in the histogram, e.g. yellow for WARN level and red for ERROR level.

Here's an example of what this looks like:

2023-04-21T09:57:27,044752974+02:00

1.31.0 - view single documents

23 Mar 15:45
6c1366c
Compare
Choose a tag to compare

This adds better support for queries that have a single result, including _id queries.