kibana/x-pack/plugins/event_log/server
Patrick Mueller cc6a64514d
[alerting][actions] add task scheduled date and delay to event log - 2 (#103172)
resolves #98634

This adds a new object property to the event log kibana object named
task, with two properties to track the time the task was scheduled to
run, and the delay between when it was supposed to run and when it
actually started. This task property is only added to the appropriate
events.

	task: schema.maybe(
	  schema.object({
	    scheduled: ecsDate(),
	    schedule_delay: ecsNumber(),
	  })
	),

Note that these changes were previously merged to master in https://github.com/elastic/kibana/pull/102252 which had to be reverted - this PR contains the same commits, plus some additional ones to resolve the tests that were broken during the bad merge.
2021-06-24 10:06:01 -04:00
..
es
lib
routes
event_log_client.mock.ts
event_log_client.test.ts
event_log_client.ts
event_log_service.mock.ts
event_log_service.test.ts
event_log_service.ts
event_log_start_service.mock.ts
event_log_start_service.test.ts
event_log_start_service.ts
event_logger.mock.ts
event_logger.test.ts
event_logger.ts [alerting][actions] add task scheduled date and delay to event log - 2 (#103172) 2021-06-24 10:06:01 -04:00
index.ts
mocks.ts
plugin.test.ts
plugin.ts
saved_object_provider_registry.mock.ts
saved_object_provider_registry.test.ts
saved_object_provider_registry.ts
types.ts