From 41728a7c5319deedcf23b7ad2bc98a58f01ee90b Mon Sep 17 00:00:00 2001 From: Joseph Sirianni Date: Wed, 3 Feb 2021 16:17:49 -0500 Subject: [PATCH 1/3] update regex to handle fully qualified names within the pod name. --- plugins/openshift.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/openshift.yaml b/plugins/openshift.yaml index 260a287a..681b77ca 100644 --- a/plugins/openshift.yaml +++ b/plugins/openshift.yaml @@ -77,7 +77,7 @@ pipeline: # Parse the container name into service name, pod name, and namespace - type: regex_parser - regex: '^(?P[-a-z0-9_]+)_(?P[-a-z0-9]+)_(?P[-a-z0-9]+)_[-a-z0-9]+_\d+$' + regex: '^k8s_(?P[-a-z0-9_]+)_(?P[-a-z0-9\.]+)_(?P[-a-z0-9]+)_[-a-z0-9]+_\d+$' parse_from: CONTAINER_NAME parse_to: k8s_metadata From 4c7bc9a8e6d2ee82eecdabfa4bbeb941a38a631d Mon Sep 17 00:00:00 2001 From: Joseph Sirianni Date: Thu, 4 Feb 2021 13:06:26 -0500 Subject: [PATCH 2/3] bump openshfit version to 0.0.7 --- plugins/openshift.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/openshift.yaml b/plugins/openshift.yaml index 681b77ca..8721d030 100644 --- a/plugins/openshift.yaml +++ b/plugins/openshift.yaml @@ -1,5 +1,5 @@ --- -version: 0.0.6 +version: 0.0.7 title: Openshift description: Log parser for Openshift supported_platforms: From 7f03a505ba8947f49b5efa20738e99279c3fd9dc Mon Sep 17 00:00:00 2001 From: Joseph Sirianni Date: Thu, 4 Feb 2021 13:13:14 -0500 Subject: [PATCH 3/3] update changelog for 0.0.43 release --- CHANGELOG.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fc88cd41..2a045fec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.0.43] - Unreleased +## [0.0.44] - Unreleased +## [0.0.43] - 2021-02-04 +- Update `openshift` plugin ([PR218](https://github.com/observIQ/stanza-plugins/pull/218)) + - Fix regex_parser to handle periods in pod name + - Fix regex_parser: remove `k8s_` prefix from service name ### Changed ## [0.0.42] - 2021-02-03 ### Changed @@ -132,7 +136,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add metadata to add log_type `observiq.agent.logagent` ## [0.0.35] - 2021-01-11 ### Changed -- Update `nginx_ingress` plugin +- Update `nginx_ingress` plugin - Update observiq log format to be JSON format ([PR173](https://github.com/observIQ/stanza-plugins/pull/173)) - Update error and access `log_type` values to `nginx.ingress.error` and `nginx.ingress.access` ([PR166](https://github.com/observIQ/stanza-plugins/pull/166)) - Update `pgbouncer` plugin ([PR172](https://github.com/observIQ/stanza-plugins/pull/172)) @@ -160,7 +164,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Update `kubernetes_events` plugin ([PR162](https://github.com/observIQ/stanza-plugins/pull/162)) - Add missing INFO level cluster events - Update `dockerswarm` plugin ([PR161](https://github.com/observIQ/stanza-plugins/pull/161)) - - Update docker_swarm_parser parser timestamp layout to use space padded day. + - Update docker_swarm_parser parser timestamp layout to use space padded day. - Remove the severity `preserve_to` parameter from dockerd_parser and containerd_parser - Change severity name on containerd_parser to containerd_severity - Add pid field