Skip to content

Commit dbc67c7

Browse files
Update logs.asciidoc
make settings more copy/paste friendly
1 parent 7ac2963 commit dbc67c7

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

docs/reference/data-streams/logs.asciidoc

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,16 @@ log fields, such as DNS A records, HTTP headers, and log entries that represent
7272

7373
In `logsdb` index mode, the following sort settings are applied by default:
7474

75-
`index.sort.field`: `["host.name", "@timestamp"]`::
75+
`"index.sort.field"`: `["host.name", "@timestamp"]`::
7676
Indices are sorted by `host.name` and `@timestamp` by default. The `@timestamp` field is automatically injected if it is not present.
7777

78-
`index.sort.order`: `["desc", "desc"]`::
78+
`"index.sort.order"`: `["desc", "desc"]`::
7979
Both `host.name` and `@timestamp` are sorted in descending (`desc`) order, prioritizing the latest data.
8080

81-
`index.sort.mode`: `["min", "min"]`::
81+
`"index.sort.mode"`: `["min", "min"]`::
8282
The `min` mode sorts indices by the minimum value of multi-value fields.
8383

84-
`index.sort.missing`: `["_first", "_first"]`::
84+
`"index.sort.missing"`: `["_first", "_first"]`::
8585
Missing values are sorted to appear `_first`.
8686

8787
You can override these default sort settings. For example, to sort on different fields
@@ -204,22 +204,22 @@ reconstructing the original value.
204204

205205
The `logsdb` index mode uses the following settings:
206206

207-
* **`index.mode`**: `"logsdb"`
207+
* **`"index.mode"`**: `"logsdb"`
208208

209-
* **`index.mapping.synthetic_source_keep`**: `"arrays"`
209+
* **`"index.mapping.synthetic_source_keep"`**: `"arrays"`
210210

211-
* **`index.sort.field`**: `["host.name", "@timestamp"]`
211+
* **`"index.sort.field"`**: `["host.name", "@timestamp"]`
212212

213-
* **`index.sort.order`**: `["desc", "desc"]`
213+
* **`"index.sort.order"`**: `["desc", "desc"]`
214214

215-
* **`index.sort.mode`**: `["min", "min"]`
215+
* **`"index.sort.mode"`**: `["min", "min"]`
216216

217-
* **`index.sort.missing`**: `["_first", "_first"]`
217+
* **`"index.sort.missing"`**: `["_first", "_first"]`
218218

219-
* **`index.codec`**: `"best_compression"`
219+
* **`"index.codec"`**: `"best_compression"`
220220

221-
* **`index.mapping.ignore_malformed`**: `true`
221+
* **`"index.mapping.ignore_malformed"`**: `true`
222222

223-
* **`index.mapping.ignore_above`**: `8191`
223+
* **`"index.mapping.ignore_above"`**: `8191`
224224

225-
* **`index.mapping.total_fields.ignore_dynamic_beyond_limit`**: `true`
225+
* **`"index.mapping.total_fields.ignore_dynamic_beyond_limit"`**: `true`

0 commit comments

Comments
 (0)