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

Cherry-pick #17847 to 7.7: Fix issue where application ID of cloudfoundry.access events is incorrect. #17878

Merged
merged 1 commit into from
Apr 21, 2020

Conversation

blakerouse
Copy link
Contributor

@blakerouse blakerouse commented Apr 21, 2020

Cherry-pick of PR #17847 to 7.7 branch. Original message:

What does this PR do?

Fixes issue where the cloudfoundry event for cloudfoundry.access event types was creating the cloudfoundry.app.id in the memory format of the UUID instead of the required string formatted.

Wrong: low:3046190763798940950 high:12644936126740546741
Correct: 4ef05e5d-d2a6-4c58-9229-d112587b74dd

Why is it important?

The format must use the correct string so the add_cloudfoundry_metadata processor can get the application data from CloudFoundry. This is also causing stress on the cloudfoundry API as it will keep checking for applications that are invalid and cause 404's.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

…rect. (elastic#17847)

* Fix issue where application ID of cloudfoundry.access events is incorrect.

* Add changelog entry.

* Add unit tests for cloudfoundry events.

(cherry picked from commit 08e1b2b)
@blakerouse blakerouse requested a review from a team April 21, 2020 17:00
@blakerouse blakerouse added the Team:Platforms Label for the Integrations - Platforms team label Apr 21, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-platforms (Team:Platforms)

@blakerouse blakerouse merged commit 504bffe into elastic:7.7 Apr 21, 2020
@blakerouse blakerouse deleted the backport_17847_7.7 branch April 21, 2020 19:32
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…rect. (elastic#17847) (elastic#17878)

* Fix issue where application ID of cloudfoundry.access events is incorrect.

* Add changelog entry.

* Add unit tests for cloudfoundry events.

(cherry picked from commit 66343d9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport review Team:Platforms Label for the Integrations - Platforms team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants