Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1523068

Summary: [RFE] Add fluentd file output plugin support for quick and easy debugging
Product: [oVirt] ovirt-engine-metrics Reporter: Shirly Radco <sradco>
Component: RFEsAssignee: Shirly Radco <sradco>
Status: CLOSED CURRENTRELEASE QA Contact: Lukas Svaty <lsvaty>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0.7CC: bugs, lveyde, sradco
Target Milestone: ovirt-4.2.1Keywords: FutureFeature
Target Release: ---Flags: rule-engine: ovirt-4.2?
lsvaty: testing_plan_complete-
rule-engine: planning_ack?
sradco: devel_ack+
lsvaty: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-metrics-1.1.2 Doc Type: Enhancement
Doc Text:
Feature: Add fluentd file output plugin support for quick and easy debugging Reason: Sometimes we want to debug the metrics without setting a remote metrics store. Result: Added a "file" output plugin support to the ovirt-engine-metrics setup. Metrics will be sent to a local file.
Story Points: ---
Clone Of:
: 1538091 (view as bug list) Environment:
Last Closed: 2018-02-12 11:53:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Metrics RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1475135, 1538091    

Description Shirly Radco 2017-12-07 07:03:34 UTC
Description of problem:
Add fluentd file output plugin support for quick and easy debugging.

Comment 1 Shirly Radco 2017-12-07 07:06:39 UTC
User will need to /etc/ovirt-engine-metrics/config.yml

fluentd_output_plugin: file

Default output files is /var/log/ovirt-fluentd.
Two file will be created, one for metrics and one for logs.

Comment 2 Yaniv Kaul 2017-12-07 08:14:57 UTC
Severity...?

Comment 3 Lukas Svaty 2018-01-23 16:44:53 UTC
1. on incorrect input:
TASK [oVirt.ovirt-fluentd/client : Validate fluentd_output_plugin parameter] **************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "'incorrect_input' must be set to either 'elasticsearch' or 'fluentd'."}


there is no mentioning of 'file' param

2. this parameter is not mentioned in any of the readme, nor comment from config.yml, please document it

3. success path is working

tested in ovirt-engine-metrics-1.1.2.1-1.el7ev.noarch

Comment 4 Shirly Radco 2018-01-24 13:03:44 UTC
Added a doc bug.
This is ment to be used more for debugging and not production use case.

Comment 5 Lukas Svaty 2018-01-26 15:30:09 UTC
verified in ovirt-engine-metrics-1.1.2.2-1.el7ev.noarch

Comment 6 Sandro Bonazzola 2018-02-12 11:53:51 UTC
This bugzilla is included in oVirt 4.2.1 release, published on Feb 12th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.1 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.