Skip to content

Commit d442f52

Browse files
Merge pull request #1880 from fluent/alexakreizinger/sc-136280/update-fluent-bit-docs-pipeline-parsers-lstv
2 parents 3bb85a2 + 14b3e87 commit d442f52

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

pipeline/parsers/ltsv.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# LTSV
22

3-
The **ltsv** parser allows to parse [LTSV](http://ltsv.org/) formatted texts.
3+
The _LTSV_ parser lets you parse data in the [Labeled Tab-separated Values (LTSV)](http://ltsv.org/) format.
44

5-
Labeled Tab-separated Values \(LTSV format is a variant of Tab-separated Values \(TSV\). Each record in a LTSV file is represented as a single line. Each field is separated by TAB and has a label and a value. The label and the value have been separated by ':'.
5+
LTSV is a variant of the Tab-separated Values (TSV) format. Each record in an LTSV file is represented as a single line. Each field is separated by a tab and has a label and a value. The label and its value are separated by a colon (`:`).
66

7-
Here is an example how to use this format in the apache access log.
7+
Here is an example how to use this format in the Apache access log.
88

9-
Config this in httpd.conf:
9+
Configure this in `httpd.conf`:
1010

1111
```text
1212
LogFormat "host:%h\tident:%l\tuser:%u\ttime:%t\treq:%r\tstatus:%>s\tsize:%b\treferer:%{Referer}i\tua:%{User-Agent}i" combined_ltsv
@@ -42,7 +42,7 @@ parsers:
4242
{% endtab %}
4343
{% endtabs %}
4444

45-
The following log entry is a valid content for the parser defined above:
45+
The following log entry is valid content for the previously defined parser:
4646

4747
```text
4848
host:127.0.0.1 ident:- user:- time:[10/Jul/2018:13:27:05 +0200] req:GET / HTTP/1.1 status:200 size:16218 referer:http://127.0.0.1/ ua:Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
@@ -60,4 +60,4 @@ After processing, it internal representation will be:
6060
[1531222025.000000000, {"host"=>"127.0.0.1", "ident"=>"-", "user"=>"-", "req"=>"GET /assets/css/style.css HTTP/1.1", "status"=>200, "size"=>1279, "referer"=>"http://127.0.0.1/", "ua"=>"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0"}]
6161
```
6262

63-
The time has been converted to Unix timestamp \(UTC\).
63+
The time was converted to Unix timestamp (UTC).

vale-styles/FluentBit/Acronyms.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ exceptions:
5555
- LLDB
5656
- LLVM
5757
- LTS
58+
- LTSV
5859
- MQTT
5960
- NET
6061
- NGINX

0 commit comments

Comments
 (0)