Skip to content

Commit 9bd66fc

Browse files
authored
Merge pull request fluent#22 from nokute78/csv_fmt
out_file: add description about file format
2 parents d9333c8 + 0f08bf6 commit 9bd66fc

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

output/file.md

+24
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,30 @@ The plugin supports the following configuration parameters:
99
| Key | Description |
1010
|------|-------------|
1111
| Path | File path to output. If not set, the filename will be tag name.|
12+
| Format | The format of the file content. See also Format section. Default: out_file.|
13+
14+
## Format
15+
16+
### out_file format
17+
18+
Output time, tag and json records. There is no configuration parameters for out_file.
19+
20+
```json
21+
tag: [time, {"key1":"value1", "key2":"value2", "key3":"value3"}]
22+
```
23+
24+
### csv format
25+
26+
Output the records as csv. Csv supports an additional configuration parameter.
27+
28+
| Key | Description |
29+
|------|-------------|
30+
| Delimiter | The character to separate each data. Default: ','|
31+
32+
33+
```python
34+
time[delimiter]"value1"[delimiter]"value2"[delimiter]"value3"
35+
```
1236

1337
## Getting Started
1438

0 commit comments

Comments
 (0)