Skip to content

Make user.id a string in system/users, in line with ECS#19019

Merged
fearful-symmetry merged 3 commits intoelastic:masterfrom
fearful-symmetry:user-ecs-fix
Jun 10, 2020
Merged

Make user.id a string in system/users, in line with ECS#19019
fearful-symmetry merged 3 commits intoelastic:masterfrom
fearful-symmetry:user-ecs-fix

Conversation

@fearful-symmetry
Copy link
Copy Markdown
Contributor

@fearful-symmetry fearful-symmetry commented Jun 5, 2020

What does this PR do?

This is a quick change to make the user.id field in the system/users metricset a keyword, which is what ECS wants: https://www.elastic.co/guide/en/ecs/current/ecs-user.html

Why is it important?

Metricset should be ECS compliant.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Testing

  • Build/install on a modern linux that uses systemd for user management
  • enable the system/user metricset
  • Ensure the metricset is sending data, and that the ECS field user.id is a string, and not an int.

@fearful-symmetry fearful-symmetry added bug Metricbeat Metricbeat needs_backport PR is waiting to be backported to other branches. Team:Integrations Label for the Integrations team labels Jun 5, 2020
@fearful-symmetry fearful-symmetry requested a review from a team June 5, 2020 20:05
@fearful-symmetry fearful-symmetry self-assigned this Jun 5, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/integrations (Team:Integrations)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Jun 5, 2020
@botelastic
Copy link
Copy Markdown

botelastic bot commented Jun 5, 2020

This pull request doesn't have a Team:<team> label.

@fearful-symmetry fearful-symmetry added v7.9.0 test-plan Add this PR to be manual test plan labels Jun 8, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #19019 updated]

  • Start Time: 2020-06-08T16:30:49.820+0000

  • Duration: 77 min 55 sec

Test stats 🧪

Test Results
Failed 0
Passed 3678
Skipped 843
Total 4521

@fearful-symmetry fearful-symmetry merged commit de57f06 into elastic:master Jun 10, 2020
v1v added a commit to v1v/beats that referenced this pull request Jun 12, 2020
…ngs-archive

* upstream/master: (119 commits)
  Update filebeat input docs (elastic#19110)
  Add ECS fields from log pipeline of PostgreSQL (elastic#19127)
  Init package libbeat/statestore (elastic#19117)
  [Ingest Manager] Retryable downloads of beats (elastic#19102)
  [DOCS] Add output.console to Functionbeat doc and Functionbeat reference file (elastic#18965)
  Add compatibility info (elastic#18929)
  Set ecszap version to v0.2.0 (elastic#19106)
  [filebeat][httpjson] Fix unit test function call (elastic#19124)
  [Filebeat][httpjson] Adds oauth2 support for httpjson input (elastic#18892)
  Allow host.* fields to be disabled in Suricata module (elastic#19107)
  Make selector string casing configurable (elastic#18854)
  Switch the GRPC communication where Agent is running the server and the beats are connecting back to Agent (elastic#18973)
  Disable host.* fields by default for netflow module (elastic#19087)
  Automatically fill zube teams on backports if available (elastic#18924)
  Fix crash on vsphere module (elastic#19078)
  [Ingest Manager] Download snapshot artifacts from snapshots repo (elastic#18685)
  [Ingest Manager] Basic Elastic Agent documentation (elastic#19030)
  Make user.id a string in system/users, in line with ECS (elastic#19019)
  [docs] Add 7.8 release highlights placeholder file (elastic#18493)
  Fix translate_sid's empty target field handling (elastic#18991)
  ...
fearful-symmetry added a commit to fearful-symmetry/beats that referenced this pull request Jun 15, 2020
* user.id must be a string

* changelog entry

* make it a breaking change

(cherry picked from commit de57f06)
@fearful-symmetry fearful-symmetry removed the needs_backport PR is waiting to be backported to other branches. label Jun 15, 2020
fearful-symmetry added a commit that referenced this pull request Jun 30, 2020
)

* user.id must be a string

* changelog entry

* make it a breaking change

(cherry picked from commit de57f06)
@andresrc andresrc added the test-plan-added This PR has been added to the test plan label Jul 14, 2020
melchiormoulin pushed a commit to melchiormoulin/beats that referenced this pull request Oct 14, 2020
* user.id must be a string

* changelog entry

* make it a breaking change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Metricbeat Metricbeat Team:Integrations Label for the Integrations team test-plan Add this PR to be manual test plan test-plan-added This PR has been added to the test plan v7.9.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants