From 5b0dcf7c1af86884fa3cb5d91890a5c59320c0b8 Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri-Benedetti Date: Tue, 7 Oct 2025 16:17:33 +0200 Subject: [PATCH 1/2] Update sample code snippet in the docs Fixes https://github.com/elastic/docs-content/issues/3368 --- docs/index.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.asciidoc b/docs/index.asciidoc index 5d6642b..b3c05d1 100644 --- a/docs/index.asciidoc +++ b/docs/index.asciidoc @@ -147,7 +147,7 @@ You can customise the line format using the `line` codec like: [source,ruby] ----- output { - file { + csv { path => ... codec => line { format => "custom format: %{message}"} } @@ -180,4 +180,4 @@ may not make the values safe in your spreadsheet application include::{include_path}/{type}.asciidoc[] -:default_codec!: \ No newline at end of file +:default_codec!: From ffdc03bf8f5bf8b91e3240ae416f206dcf358b7b Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri-Benedetti Date: Thu, 9 Oct 2025 09:28:11 +0200 Subject: [PATCH 2/2] Edit changelog --- CHANGELOG.md | 3 +++ logstash-output-csv.gemspec | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 44d9208..6a42f8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 3.0.11 + - Docs: Correct code snippet [#28](https://github.com/logstash-plugins/logstash-output-csv/pull/28) + ## 3.0.10 - Extend `spreadsheet_safe` prefix guard to '-', '+', and '@' [#27](https://github.com/logstash-plugins/logstash-output-csv/pull/27) diff --git a/logstash-output-csv.gemspec b/logstash-output-csv.gemspec index 6bb5632..d22f284 100644 --- a/logstash-output-csv.gemspec +++ b/logstash-output-csv.gemspec @@ -1,7 +1,7 @@ Gem::Specification.new do |s| s.name = 'logstash-output-csv' - s.version = '3.0.10' + s.version = '3.0.11' s.licenses = ['Apache License (2.0)'] s.summary = "Writes events to disk in a delimited format" s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"