Skip to content

Commit

Permalink
Update logs to 1.12.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeelmers committed Oct 1, 2021
1 parent 162ab85 commit bc4e7f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/server/logging/layouts/json_layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class JsonLayout implements Layout {

public format(record: LogRecord): string {
const log: Ecs = {
ecs: { version: '1.9.0' },
ecs: { version: '1.12.0' },
'@timestamp': moment(record.timestamp).format('YYYY-MM-DDTHH:mm:ss.SSSZ'),
message: record.message,
error: JsonLayout.errorToSerializableObject(record.error),
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/security/server/audit/audit_events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type { EcsEventOutcome, EcsEventType, KibanaRequest, LogMeta } from 'src/
import type { AuthenticationResult } from '../authentication/authentication_result';

/**
* Audit event schema using ECS format: https://www.elastic.co/guide/en/ecs/1.9/index.html
* Audit event schema using ECS format: https://www.elastic.co/guide/en/ecs/1.12/index.html
*
* If you add additional fields to the schema ensure you update the Kibana Filebeat module:
* https://github.com/elastic/beats/tree/master/filebeat/module/kibana
Expand Down

0 comments on commit bc4e7f6

Please sign in to comment.