Skip to content

Commit

Permalink
docs: Update timestamp.asciidoc (elastic#20395)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard-Fluehmann authored and bmorelli25 committed Oct 6, 2020
1 parent bde8416 commit d98276f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libbeat/processors/timestamp/docs/timestamp.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ If a layout does not contain a year then the current year in the specified

Here is an example that parses the `start_time` field and writes the result
to the `@timestamp` field then deletes the `start_time` field. When the
processor is loaded it will immediately validate that the two `test` timestamps
processor is loaded, it will immediately validate that the two `test` timestamps
parse with this configuration.

[source,yaml]
Expand All @@ -61,9 +61,11 @@ processors:
layouts:
- '2006-01-02T15:04:05Z'
- '2006-01-02T15:04:05.999Z'
- '2006-01-02T15:04:05.999-07:00'
test:
- '2019-06-22T16:33:51Z'
- '2019-11-18T04:59:51.123Z'
- '2020-08-03T07:10:20.123456+02:00'
- drop_fields:
fields: [start_time]
----

0 comments on commit d98276f

Please sign in to comment.