[8.10] [Logs] use ISO timestamp for Assistant messages (#165475) (#165495)

# Backport

This will backport the following commits from `main` to `8.10`:
- [[Logs] use ISO timestamp for Assistant messages
(#165475)](https://github.com/elastic/kibana/pull/165475)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Dario
Gieselaar","email":"dario.gieselaar@elastic.co"},"sourceCommit":{"committedDate":"2023-09-01T16:13:00Z","message":"[Logs]
use ISO timestamp for Assistant messages
(#165475)","sha":"44a3864876f85ad33cfac62b56ab9910f46010c5","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.10.0","v8.11.0"],"number":165475,"url":"https://github.com/elastic/kibana/pull/165475","mergeCommit":{"message":"[Logs]
use ISO timestamp for Assistant messages
(#165475)","sha":"44a3864876f85ad33cfac62b56ab9910f46010c5"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165475","number":165475,"mergeCommit":{"message":"[Logs]
use ISO timestamp for Assistant messages
(#165475)","sha":"44a3864876f85ad33cfac62b56ab9910f46010c5"}}]}]
BACKPORT-->

Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
This commit is contained in:
Kibana Machine 2023-09-01 13:25:19 -04:00 committed by GitHub
parent b585d12d5a
commit 181820026a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -230,7 +230,7 @@ export const LogRateAnalysis: FC<AlertDetailsLogRateAnalysisSectionProps> = ({ r
Do not mention indidivual p-values from the analysis results. Do not guess, just say what you are sure of. Do not repeat the given instructions in your output.`;
const now = new Date().toString();
const now = new Date().toISOString();
return [
{