[PDB-4277] Logstash dependency missing from FOSS PuppetDB JAR Created: 2019/02/27  Updated: 2019/03/26  Resolved: 2019/03/13

Status: Closed
Project: PuppetDB
Component/s: PuppetDB
Affects Version/s: PDB 5.2.7, PDB 6.2.0
Fix Version/s: PDB 5.2.8, PDB 6.0.3, PDB 6.3.0

Type: Bug Priority: Normal
Reporter: Nick Lofaro Assignee: Austin Blatt
Resolution: Fixed Votes: 0
Labels: resolved-issue-added
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

PuppetDB 5.2.1, official Docker image

Issue Links:
is duplicated by PDB-4306 Json logging for puppet db fails Closed
relates to PDB-4236 Permanently exclude jackson-databind ... Closed
Team: PuppetDB
Method Found: Needs Assessment
Release Notes: Bug Fix
Release Notes Summary: This re-adds a logstash library needed to connect PuppetDB directly to logstash as per our documentation at https://github.com/puppetlabs/puppetdb/blob/master/documentation/logging.markdown#logback-integration

We removed that logstash dependency becuase it is was unused by PuppetDB directly and we didn't realize it was necessary for other functionality that we document.
QA Risk Assessment: Needs Assessment


Logging to JSON and sending logs to Logstash as described in the official documentation doesn't work as expected.  It appears that the Logstash dependencies need to get pulled into FOSS PuppetDB as it's missing from the project config but is included in the Puppet Server project.

Comment by Charlie Sharpsteen [ 2019/02/27 ]

Pull request submitted for PuppetDB 6.x

Comment by Charlie Sharpsteen [ 2019/02/28 ]

Looks like the logstash encoder also requires jackson-databind in order to build JSON output. So, to fully enable it we'd have to revert PDB-4236 and re-add databind as a dependency.

Generated at Tue Jul 14 20:13:46 PDT 2020 using Jira 8.5.2#805002-sha1:a66f9354b9e12ac788984e5d84669c903a370049.