Bug 1459431 - Add pos_file parameter to the in_tail plugin for engine.log records
Summary: Add pos_file parameter to the in_tail plugin for engine.log records
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine-metrics
Classification: oVirt
Component: Generic
Version: 1.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.1.4
: 1.0.5
Assignee: Shirly Radco
QA Contact: Lukas Svaty
URL:
Whiteboard:
Depends On:
Blocks: oVirt-Metrics-and-Logs 1468892
TreeView+ depends on / blocked
 
Reported: 2017-06-07 07:01 UTC by Shirly Radco
Modified: 2017-07-28 14:14 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-28 14:14:23 UTC
oVirt Team: Metrics
Embargoed:
rule-engine: ovirt-4.1+
lsvaty: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 77906 0 master MERGED fluentd: add pos_file to engine.log 2017-07-06 07:46:59 UTC

Description Shirly Radco 2017-06-07 07:01:12 UTC
Description of problem:
in_tail plugin that tails the engine.log records requires additional parameter, pos_file. Fluentd will record the position it last read into the file in the specified path.

Version-Release number of selected component (if applicable):
1.0.3

How reproducible:
100%

Steps to Reproduce:
1. Setup openshift+logging
2. Install engine and deploy the metrics ansible script
3. Check the file exists at /var/log/fluentd/ovirt-engine.log.pos

Comment 1 Lukas Svaty 2017-07-18 16:21:42 UTC
[root@ls-engine1 ~]# cat /var/lib/ovirt-fluentd/pos-files/ovirt-engine.log.pos
/var/log/ovirt-engine/engine.log	00000000008036cd	000000000129dbf6

verified in ovirt-engine-metrics-1.0.5-1.el7ev.noarch


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