Bug 1461014 - [RFE] log watching and alerting function in OCP
Summary: [RFE] log watching and alerting function in OCP
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Jeff Cantrill
QA Contact: Xiaoli Tian
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-13 11:15 UTC by David Caldwell
Modified: 2021-06-10 12:26 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-11 13:37:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description David Caldwell 2017-06-13 11:15:15 UTC
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.