[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
Environment:

PuppetDB 5.2.1, official Docker image


Issue Links:
Duplicate
is duplicated by PDB-4306 Json logging for puppet db fails Closed
Relates
relates to PDB-4236 Permanently exclude jackson-databind ... Closed
Template:
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

 Description   

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.



 Comments   
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 Mon Dec 09 08:00:37 PST 2019 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.