forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Automatic Import] add timestamp to ECS constants (elastic#204931)
## Summary Ensure mapping contains `@timestamp` field whenever possible. elastic#196040 Tested cases: | test case | has `@timestamp` | is expected result | |---|---|---| | sample logs with datetime value for `time` and `expires` fields | yes (picked `time` as `@timestamp`) | ✅ | | sample logs with datetime value for `expires` field only | no | ✅ | | sample logs with no datetime values | no | ✅ | | sample logs with `created_at` field that does not contain datetime value | no | ✅ | Tested values for `time` field: | value | match correctly `@timestamp` | |---|---| | `2024-02-24T06:56:50.648137154Z` | ✅ | | `10/01/2023 12:34:56` | ✅ | | `01-10-2023 12:34:56` | ✅ | | `Thu, 25 December 2023 10:15:00GMT` | ✅ --------- Co-authored-by: kibanamachine <[email protected]> Co-authored-by: Ilya Nikokoshev <[email protected]> (cherry picked from commit 4cc6952)
- Loading branch information
1 parent
3225c65
commit 7508276
Showing
4 changed files
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,6 @@ | |
"@kbn/kibana-utils-plugin", | ||
"@kbn/utils", | ||
"@kbn/zod", | ||
"@kbn/tooling-log" | ||
"@kbn/tooling-log", | ||
] | ||
} |