Skip to content

Latest commit

 

History

History
553 lines (398 loc) · 22.7 KB

CHANGELOG.md

File metadata and controls

553 lines (398 loc) · 22.7 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

  • Added Native compiled artifact for Darwin amd64 [PR505]

Added

  • Added agent log file rotation PR488
  • Added flags --max_log_size, --max_log_age, and --max_log_backups PR488

Changed

  • Deprecated the --debug flag in favor of the --log_level flag PR488

1.3.0

Added

  • Added the xml_parser operator PR482

1.2.13 - 2021-10-29

Added

  • Added the lazy_quotes parameter to the csv parser PR472

Removed

  • Removed OTLP output operator PR470

1.2.10 - 2021-10-04

Fixed

  • Fixed an issue where TLS configuration fails to enable TLS: PR466
  • Fixed an incorrect sync call when saving offsets: PR465
  • Windows Event Log operator fix for Windows Server 2022: PR456

1.2.9 - 2021-09-29

Fixed

Fixed a bug when flushing a range from the memory buffer: PR455

1.2.8 - 2021-09-28

This release includes Stanza Plugins v0.0.82

1.2.7 - 2021-09-22

Added

  • Key Value Parser: PR426
    • Parse key=value pairs

Changed

  • Google Output: entry.Resources are now mapped as labels, because Google Cloud Logging does not support custom resources PR425
  • File Input: Optimize excluded file detection PR444
    • Significant startup time reduction when reading from a directory with 50,000+ files
  • File Input: Optimize delete_after_read
    • Do not store deleted files in database: #442
    • Added filename_recall_period parameter: #440

Fixed

  • TCP / UDP Input: Resolve panic when closing nil connection: PR437
  • Cloudwatch Input: Do not store pointers on the entry PR445
    • Resolves an issue where an expression cannot be used against an entry from Cloudwatch input
  • File Input: Resolve issue where doublestar does not correctly detect files PR433

1.2.6 - 2021-09-14

Changed

  • Upgrade from Go 1.16 to 1.17
  • AWS Cloudwatch Input: Added abilty to monitor more than one log group PR 420
  • File Input: Changed default max files from 1024 to 512 PR 423

1.2.5 - 2021-09-13

Use plugins version 0.0.76

1.2.4 - 2021-09-10

Added

  • File Input: Added optional delete_after_read parameter PR 417
    • Useful for cleaning up files after they are read. Important when reading from a directory that is constantly adding new files and never modifying old files.
    • Can only be used with start_at: beginning

Changed

1.2.3 - 2021-09-08

Fixed

Resolved an issue where journald will omit logs above 4096 bytes PR 414

1.2.2 - 2021-09-02

Changed

Added debug logging to journald_input and google_cloud_output operators PR 413

1.2.1 - 2021-08-25

Changed

This release includes Stanza Plugins 0.0.72, which includes the new W3C plugin

Fixed

  • ARM64 container image release process PR 407
  • CI benchmark failures PR 408

1.2.0 - 2021-08-24

Changed

  • File Input: Added optional LabelRegex parameter, for parsing log file headers as labels PR 376
  • CSV Parser: Dynamic field names PR 404
  • ARM64 Container Image: PR 381
  • TCP Input: Minimum TLS version is now configurable: PR 400
  • Systemd service: Set TimeoutSec PR 402
  • Updated dependencies:
    • go.uber.org/multierr PR 387
    • go.etcd.io/bbolt PR 385
    • k8s client PR 377
      • k8s.io/api
      • k8s.io/apimachinery
      • k8s.io/client-go
    • github.com/golangci/golangci-lint PR 382
    • cloud.google.com/go/logging PR 394
    • google.golang.org/grpc PR 383
    • github.com/aws/aws-sdk-go PR 395
    • golang.org/x/text PR 386
    • github.com/antonmedv/expr PR 396

1.1.8 - 2021-08-19

Changed

Fixed

  • Resolved an issue where log type is not set correctly when using kubernetes_container plugin and Google output PR 392

1.1.7 - 2021-08-19

Added

Fixed

  • Resolved journald bug introduced in previous patch release (1.1.6) PR 389

1.1.6 - 2021-08-17

Added

  • File input: Added optional labels for resolved symlink file name and path PR 364
  • CSV Parser: Added optional configuration field header_delimiter PR 370

Changed

  • Journald input: Switched from long running process to polling strategy PR380

1.1.5 - 2021-07-15

Changed

  • Goflow now includes a string representation of the proto field as proto_name PR 359
  • Goflow parse function refactored for significant performance increase PR 361

Fixed

  • Goflow zero values (such as proto) are no longer ommited as they are valid values PR 361
    • proto: 0 represents proto_name: HOPOPT

1.1.4 - 2021-07-08

Added

Fixed

Changed

  • K8s daemonset example refreshed PR 348

1.1.3 - 2021-06-30

No changes, releasing for Stanza Plugins v0.0.66

1.1.2 - 2021-06-24

Fixed

  • Resolved an issue where empty ip address fields result in failed parsing PR 336

1.1.1 - 2021-06-21

Fixed

  • Log error returned by publisher.Open in operator/builtin/input/windows/operator.go PR 334

1.1.0 - 2021-06-18

Added

  • Added Goflow operator for receiving Netflow (v5, v9, ipfix) and Sflow PR 332

1.0.1 - 2021-06-16

Fixed

  • Fixed panic during shutdown when Google Cloud Output credential file not found Issue 264
  • Fixed bug where logs can be duplicated when a parser has on_error=send PR 330

[1.0.0] - 2021-05-27

Changed

  • Stanza is now a single module PR304

[0.14.2] - 2021-05-24

Changed

  • Make buffer max chunk delay reconfigurable on the fly PR313

[0.14.1] - 2021-05-20

Added

  • Added optional network metadata labels to tcp / udp operators PR302
  • Added AWS Cloudwatch Logs input operator PR289

[0.14.0] - 2021-05-07

Added

  • Added Move operator PR271
  • Added Add operator PR272
  • Added Remove operator PR273
  • Added Copy operator PR278
  • Added Retain operator PR279
  • Added Flatten operator PR286

Changed

  • Renamed Azure Event Hub event_data field to message PR297
  • Added doublestar support to File Input PR283

Fixed

  • Fixed TCP Input Operator panic PR296
  • Fixed Syslog parser race condition PR284

[0.13.20] - 2021-05-06

Added

  • Added flatten Operator PR 286
  • Added Azure Event Hub Operator PR 287
  • Added Azure Log Analytics Operator PR 287

[0.13.19] - 2021-04-15

Added

  • Added float64 to Severity parser's supported types PR 267

Changed

  • Switched to Go 1.16, from Go 1.14
  • Updated syslog operator to v0.1.5

[0.13.18] - 2021-04-02

Changed

  • Google Output will split batched entries if the batch is too large PR 263

Fixed

  • Issue where Google Output does not drop entries that are too big issue 257
  • Issue where partially successful flushes were treated as fully successful, operator/buffer/memory.go

[0.13.17] - 2021-03-17

Added

  • Added new operator csv_parser

[0.13.16] - 2021-01-01

  • Added optional max_buffer_size parameter to tcp input operator

[0.13.15] - 2021-02-26

  • Same as 0.13.14, but released with plugins v0.0.48
    • Adds TLS support to vmware_vcenter and vmware_esxi

[0.13.14] - 2021-02-25

Changed

  • Added TLS support to tcp input operator pr253

[0.13.13] - 2021-02-18

Added

Changed

  • Added optional location parameter to Syslog operator pr247
  • Updated Google Cloud output version to v0.1.2 pr250

[0.13.12] - 2020-01-26

Changed

  • Allow plugin parameters to have a default value even if they are required

[0.13.11] - 2020-01-15

Changed

  • Updated version of stanza used in several isolated modules

[0.13.10] - 2020-01-15

Added

  • timestamp parser now supports a location parameter

[0.13.9] - 2020-01-04

Fixed

  • k8s_metadata_decorator using a proxy causes internal API timeout

[0.13.8] - 2020-12-30

Fixed

  • file_input exclude processing could result in extra exclusions

[0.13.7] - 2020-12-23

Added

  • Ability to customize file_input's fingerprint_size

[0.13.6] - 2020-12-18

Fixed

  • Issue where timestamps ending 'Z' were not treated as UTC
  • Issue where recognized timezones may not properly calculate offsets
  • Issue where file_output would escape html special characters

[0.13.5] - 2020-12-09

Fixed

  • Issue where flushers would retry indefinitely
  • Issue where flushers would improperly reuse the same http request multiple times

[0.13.4] - 2020-12-07

Added

  • Recombine operator to combine multiline logs after ingestion and parsing

Fixed

  • Issue where entries skipped by if would be output twice

[0.13.3] - 2020-12-01

Added

  • New operators forward_output and forward_input to easily send log entries between stanza instances.
  • Override default timestamp with STANZA_DEFAULT_TIMESTAMP for integration testing
  • Add new bytesize type for easier configuration of byte sizes
  • Automatic severity promotion in the syslog parser

Fixed

  • Open files in chunks so that we don't hit open file limit and cause performance issues

[0.13.2] - 2020-11-17

Added

  • New parameter if to parser plugins to allow for easy conditional parsing without routers
  • New default parameter to the router to explicitly send unmatched entries to a specific operator(s)

[0.13.1] - 2020-11-11

Fixed

  • Missing default configuration of elastic_output flusher

Changed

  • A plugin that fails to parse will now log an error, but will not cause stanza to fail to start

Added

  • New stdin operator

[0.13.0] - 2020-11-09

Added

  • OTLP severity level recognition
  • Severity Text field on Entry

Changed

  • Removed preserve in favor of preserve_to to make it more clear that it may overwrite parsed fields
  • Updated our internal log sampling numbers to more aggressively sample repeated logs

Added

  • Log message whenever a new file is detected

[0.12.5] - 2020-10-07

Added

  • windows_eventlog_input can now parse messages from the Security channel.

[0.12.4] - 2020-10-07

Fixed

  • Router outputs were not namespaced correctly

[0.12.3] - 2020-10-07

Fixed

  • (De)serialization of JSON for plugin config structs

[0.12.2] - 2020-10-06

Added

  • New Relic Logs output operator
  • Additional resource values with parent object names (service name, replica set name, etc.) in the k8s metadata operator
  • Publicly available version.GetVersion() for consumers of the stanza module

[0.12.0] - 2020-09-21

Changed

  • Most operators are no longer part of dedicated modules

[0.11.0] - 2020-09-15

Changed

  • File input improvements and rotation tests

[0.10.0] - 2020-09-11

Added

  • Disk buffer for output operators (PR109)

Changed

  • Split buffers into buffers and flushers for better modularity (PR109)
  • New memory buffer design for a uniform interface between disk and memory buffers (PR109)
  • Most operators are now dedicated modules, so that they may be imported individually (PR108)

[0.9.14] - 2020-08-31

Fixed

  • Rendering issue with the kubernetes_events plugin

[0.9.13] - 2020-08-31

Added

  • Support for accessing the resource with fields (PR105)
  • Support for using fields to select keys that contain dots like $record['field.with.dots'] (PR105)
  • google_cloud_output will use resource create a monitored resource for supported resource types (currently only k8s resources) (PR105)

Changed

  • The operators host_metadata, k8s_event_input, and k8s_metadata_decorator will now use the top-level resource field (PR105)
  • k8s_metadata_decorator now generates pod labels that match those generated by GKE (PR105)

Fixed

  • Issue with k8s_event_input generating entries with zero-valued time (PR105)
  • Plugin ID in templates will now correctly default to the plugin type if unset (PR105)

[0.9.12] - 2020-08-25

Changed

  • Agent is now embeddable with a default output

[0.9.11] - 2020-08-24

Added

  • The 'filter' operator

Changed

  • Renamed project to stanza
  • Move testutil package out of internal

[0.9.10] - 2020-08-20

Added

  • The Resource field was added to Entry (PR95)
  • The Identifier helper was created to assist with writing to Resource (PR95)

Removed

  • The Tags field was removed from Entry (PR95)

Changed

  • The host_metadata operator now writes to an entry's Resource field, instead of Labels
  • The host_labeler helper has been renamed host_identifier
  • The metadata operator embeds the Identifier helper and supports writing to Resource
  • Input operators embed the Identifier helper and support writing to Resource
  • The k8s_event operator now supports the write_to, labels, and resource configuration options
  • Multiline for file_input now supports matching on new lines characters (PR96)

[0.9.9] - 2020-08-14

Added

  • Kubernetes events input operator (PR88)

Fixed

  • Small improvements to test stability
  • Fallback to reflection to convert entries to Google Cloud log entries (PR93)

[0.9.8] - 2020-08-12

Fixed

  • Google Cloud Output failure when sent a field of type uint16 (PR82)

Added

  • Added a default function to plugin templates (PR84)
  • Add a host metadata operator that adds hostname and IP to entries (PR85)
  • Google Cloud Output option to enable gzip compression (PR86)

[0.9.7] - 2020-08-05

Changed

  • In the file input operator, file name and path fields are now added with include_file_name (default true) and include_file_path (default false)
  • Input and router operators can define labels on entries using the labels field
  • Add Event ID to windows event log entries
  • Use the go-syslog fork directly rather than relying on a replace directive so that the agent can be used as a library successfully

[0.9.6] - 2020-08-04

Changed

  • Fork go-syslog to support long sdnames that are not rfc5424-compliant
  • Reduce noise in debug messages for TCP and UDP inputs

Added

  • log_type label added by default to input operators

Fixed

  • Trim carriage returns from TCP input

[0.9.5] - 2020-07-28

Added

  • Configurable timeout parameter for the k8s_metadata_decorator (PR54)
  • Journald operator now supports start_at parameter (PR55)

Changed

  • Enhanced plugin parameter metadata structure, to support required/optional and default values (PR59)

Fixed

  • Issue where multiple instances of syslog_parser would cause parsing errors (PR61)
  • short destination buffer error now is handled by increasing encoding buffer size (PR58)
  • Issue where omitting the output field in a plugin could result in errors (PR56)

[0.9.4] - 2020-07-21

  • Allow omitting id, defaulting to plugin type if unique within namespace
  • Allow omitting output, defaulting to the next operator in the pipeline if valid

[0.9.3] - 2020-07-20

Added

  • Support for multiple encodings in the file input plugin (PR39)
  • Install scripts and docker image now include plugins from stanza-plugins repository (PR45)
  • Publish image to dockerhub (PR42)
  • Improved default configuration (PR41)
  • Basic developer documentation (PR43)

Fixed

  • JournalD emits map[string]interface{} (PR38)

[0.9.2] - 2020-07-13

Added

  • Link stanza into /usr/local/bin so it's available on most users' PATH (PR28)
  • New parameter file_name_path to the file input plugin for cases when just the file name is needed

Changed

  • Renamed path_field to file_path_field in the file input plugin

Fixed

  • Failure in Google Cloud Output to convert some data types to protocol buffers

[0.9.1] - 2020-07-13

Added

  • More specific warning and error messages for common configuration issues (PR12,PR13,PR14)

Fixed

  • Writing from files being actively written to will sometimes read partial entries (PR21)
  • Minor documentation omissions

[0.9.0] - 2020-07-07

Added

  • Initial open source release. See documentation for full list of supported features in this version.