Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix example when processed as asciidoc #116

Merged
merged 1 commit into from
Sep 24, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ The base set contains all fields which are on the top level. These fields are co
|---|---|---|---|---|
| <a name="@timestamp"></a>@timestamp | Date/time when the event originated.<br/>For log events this is the date/time when the event was generated, and not when it was read.<br/>Required field for all events. | date | | `2016-05-23T08:05:34.853Z` |
| <a name="tags"></a>tags | List of keywords used to tag each event. | keyword | | `["production", "env2"]` |
| <a name="labels"></a>labels | Key/value pairs.<br/>Can be used to add meta information to events. Should not contain nested objects. All values are stored as keyword.<br/>Example: `docker` and `k8s` labels. | object | | `{key1: value1, key2: value2}` |
| <a name="labels"></a>labels | Key/value pairs.<br/>Can be used to add meta information to events. Should not contain nested objects. All values are stored as keyword.<br/>Example: `docker` and `k8s` labels. | object | | `{'key2': 'value2', 'key1': 'value1'}` |
| <a name="message"></a>message | For log events the message field contains the log message.<br/>In other use cases the message field can be used to concatenate different values which are then freely searchable. If multiple messages exist, they can be combined into one message. | text | | `Hello World` |


Expand Down
2 changes: 1 addition & 1 deletion fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@

- name: labels
type: object
example: "{key1: value1, key2: value2}"
example: {key1: value1, key2: value2}
description: >
Key/value pairs.

Expand Down
2 changes: 1 addition & 1 deletion schema.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Field,Type,Phase,Example
@timestamp,date,3,2016-05-23T08:05:34.853Z
labels,object,0,"{key1: value1, key2: value2}"
labels,object,0,"{'key2': 'value2', 'key1': 'value1'}"
message,text,1,Hello World
tags,keyword,0,"[""production"", ""env2""]"
agent.ephemeral_id,keyword,0,8a4f500f
Expand Down
2 changes: 1 addition & 1 deletion schemas/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

- name: labels
type: object
example: "{key1: value1, key2: value2}"
example: {key1: value1, key2: value2}
description: >
Key/value pairs.

Expand Down