Bug 1461014 - [RFE] log watching and alerting function in OCP
[RFE] log watching and alerting function in OCP
Status: NEW
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE (Show other bugs)
3.4.0
Unspecified Unspecified
unspecified Severity low
: ---
: ---
Assigned To: Jeff Cantrill
Xiaoli Tian
: RFE
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-13 07:15 EDT by David Caldwell
Modified: 2017-09-14 12:12 EDT (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Caldwell 2017-06-13 07:15:15 EDT
1. Proposed title of this feature request

Integrated alerts


    3. What is the nature and description of the request?

We would like a generic capability to watch/tail logs generated by pods and execute actions if certain strings appear in the logs. For example, call a predefined API endpoint when string "failure" appears in stdout for a given pod.

We are aware of options to send logs to multiple destinations using fluentd, ask is for this capability to be present within OCP itself.


    4. Why does the customer need this? (List the business requirements here)

As a developer for OpenShift, I want to be notified any time my application running on OpenShift emits an error message. I don't want to write code myself to maintain this feature nor do I want to rely on external tools or integrations - I want to have an integrated experience with a standard and supported API.

Specific ask from one of our teams was to create an incident every time a certain message appears in the application logs. We are trying to push as much as we can to self service by developers and don't want the platform team to maintain or write any custom integrations.


    5. How would the customer like to achieve this? (List the functional requirements here)

Supported API


    6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.

By triggering and watching for pod logs/events.


    7. Is there already an existing RFE upstream or in Red Hat Bugzilla?
No

    10. List any affected packages or components.

OCP 3.4+

Note You need to log in before you can comment on or make changes to this bug.