Description of problem: We want to be able to filter logs based on the cluster name. Currently this is only possible for metrics.
I don't see the benefit of engine.log support. For vdsm.log it's nice feature, for SPM diagnoses and so on. But engine.log is the same for all DCs and all Clusters.
I agree. updated the bug header and patch.
this did not get to downstream build tested on ovirt-engine-metrics-1.1.1-0.3.beta2.20171114114644.el7ev.noarch Shirly which version should include this fix?
Should be in ovirt-engine-metrics-1.1.1-1.el7ev
tested in ovirt-engine-metrics-1.1.1-1.el7ev.noarch { "_index": "project.ovirt-logs-test-engine.af901632-da69-11e7-b1bc-001a4a013f0b.2017.12.14", "_type": "com.redhat.viaq.common", "_id": "AWBVrtUVkj3DDOwq70Qa", "_score": null, "_source": { "level": "INFO", "message": "START getSpmStatus(spUUID=u'5a21289b-00cd-014c-001a-0000000001bb', options=None) from=::ffff:10.37.137.8,50692, task_id=7b809f2b-54f1-40aa-bcb7-c93fb50c4a27", "service": "ovirt.vdsm", "tag": "project.ovirt-logs-test-engine", "hostname": "localhost.localdomain", "ipaddr4": "10.37.138.230", "ovirt": { "class": "jsonrpc/1", "thread": "vdsm.api", "module_lineno": "api:46", "cluster_name": "Default" <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< }, "pipeline_metadata": { "collector": { "ipaddr4": "127.0.0.1", "ipaddr6": "::1", "inputname": "fluent-plugin-systemd", "name": "fluentd", "received_at": "2017-12-14T15:40:07.883372+00:00", "version": "unknown fluentd version unknown data version" } }, "@timestamp": "2017-12-14T16:40:07+01:00" }, "fields": { "@timestamp": [ 1513266007000 ], "pipeline_metadata.collector.received_at": [ 1513266007883 ] }, "highlight": { "hostname": [ "@kibana-highlighted-field@/kibana-highlighted-field@" ] }, "sort": [ 1513266007000 ] }
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017. Since the problem described in this bug report should be resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.