puppetlabs / puppetlabs-splunk_hec

Apache License 2.0
9 stars 25 forks source link

(MAINT) Conditional event type filtering setting #174

Closed coreymbe closed 2 years ago

coreymbe commented 2 years ago

Summary

Prevent splunk_hec::event_type_filtering from being added to splunk_hec.yaml unless event reporting is enabled.

Detailed Description

Moved the splunk_hec::event_type_filtering parameter into the conditional for splunk_hec::events_reporting_enabled as the former is not required unless the latter is configured.

Checklist

[X] Unit Tests [X] Acceptance Tests [X] PR title is "(Ticket|Maint) Short Description" [X] Commit title matches PR title