Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.11][Telemetry] Add run and alert count to task state. #86776

Merged
merged 1 commit into from
Dec 22, 2020

Conversation

pjhampton
Copy link
Contributor

@pjhampton pjhampton commented Dec 22, 2020

Summary

Previous work item: #84422
We are having difficulties testing this functionality in the BC. By adding a couple of month state items we hope to get to the bottom of this.

{
  "_index" : ".kibana-task-manager_1",
  "_type" : "_doc",
  "_id" : "task:security:endpoint-diagnostics:1.0.2",
  "_score" : 1.0,
  "_source" : {
    "migrationVersion" : {
      "task" : "7.6.0"
    },
    "task" : {
      "schedule" : {
        "interval" : "5m"
      },
      "taskType" : "security:endpoint-diagnostics",
      "retryAt" : null,
      "runAt" : "2020-12-22T14:18:41.976Z",
      "scope" : [
        "securitySolution"
      ],
      "startedAt" : null,
      "state" : """{"lastExecutionTimestamp":"2020-12-22T14:13:42.208Z","lastDiagAlertCount":0,"runs":9}""",
      "params" : """{"version":"1.0.2"}""",
      "ownerId" : null,
      "scheduledAt" : "2020-12-22T13:33:22.772Z",
      "attempts" : 0,
      "status" : "idle"
    },
    "references" : [ ],
    "updated_at" : "2020-12-22T14:13:42.506Z",
    "type" : "task"
  }
},

For maintainers

@pjhampton pjhampton added release_note:enhancement v7.11.0 Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. labels Dec 22, 2020
@pjhampton pjhampton requested review from a team as code owners December 22, 2020 14:35
@pjhampton pjhampton self-assigned this Dec 22, 2020
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:enhancement Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v7.11.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants