-
Notifications
You must be signed in to change notification settings - Fork 392
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
Extract "Ingress Controller" to a separate integration #451
Conversation
Pinging @elastic/integrations (Team:Integrations) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thank you for taking care of this!
Just left some minors, let me know what you think.
|
||
The `access` data stream collects the Nginx Ingress Controller access logs. | ||
|
||
{{fields "access"}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sample events will not be added?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right I forgot about it!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
title: Nginx ingress controller logs | ||
description: Collect Nginx ingress controller logs | ||
title: Nginx Ingress Controller access logs | ||
description: Collect Nginx Ingress Controller access logs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to note that error logs will not be parsed (these error logs are actually typical golang error logs). We need to track it down somehow since it was part of the migration assessment for this package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm.. not sure if I understand the part about Golang errors. Could you please elaborate more? Are there any specific nginx ingress controllers Go errors dumped in Beats?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ingress Nginx will log errors like any other golang application. There have been requests from users to handle them as well. Unfortunately it seems it was skipped from the migration assessment. or I cannot find it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added an action item to #373 (comment) .
I will add support for error logs in the follow up issue.
/test |
jenkins run the tests please |
1 similar comment
jenkins run the tests please |
* Copy nginx_ingress_controller from nginx * Adjust ingress controller * Extract Nginx Ingress Controller from nginx * Fix: typo * Dump ingress controller logs * Remove Ingress Controller from Nginx * Adjust tests * Docker changes * Docker for system tests * Fix: missing fields * Adjust dashboards * Fix: missing IP address * Adjust screenshots * Add missing sample event
What does this PR do?
This PR extracts
ingress_controller
from thenginx
to a separate integration.Checklist
How to test this PR locally
Run system tests with defer cleanup option:
elastic-package test system -v --defer-cleanup=120s
,navigate to dashboards to see access logs.
Related issues
Screenshots