Skip to content

Commit dbe5383

Browse files
authored
Merge pull request #22 from karenzone/fix-example
[Doc]Fix example formatting
2 parents bbdb29a + debde8c commit dbe5383

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.0.8
2+
- Docs: Correct typos [#19](https://github.com/logstash-plugins/logstash-output-csv/pull/19)
3+
- Docs: Fix formatting after code sample [#22](https://github.com/logstash-plugins/logstash-output-csv/pull/22)
4+
15
## 3.0.7
26
- Docs: Set the default_codec doc attribute.
37

docs/index.asciidoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,14 +142,18 @@ This output writes events to files on disk. You can use fields
142142
from the event as parts of the filename and/or path.
143143

144144
By default, this output writes one event per line in **json** format.
145-
You can customise the line format using the `line` codec like
145+
You can customise the line format using the `line` codec like:
146+
146147
[source,ruby]
148+
-----
147149
output {
148150
file {
149151
path => ...
150152
codec => line { format => "custom format: %{message}"}
151153
}
152154
}
155+
-----
156+
153157
The path to the file to write. Event fields can be used here,
154158
like `/var/log/logstash/%{host}/%{application}`
155159
One may also utilize the path option for date-based log

logstash-output-csv.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Gem::Specification.new do |s|
22

33
s.name = 'logstash-output-csv'
4-
s.version = '3.0.7'
4+
s.version = '3.0.8'
55
s.licenses = ['Apache License (2.0)']
66
s.summary = "Writes events to disk in a delimited format"
77
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"

0 commit comments

Comments
 (0)