While setting up rspec tests I found that filtering does not work for pe-console and code-manager. This is a result of the processor script looking for splunk_hec settings named pe-console_data_filter and code-manager_data_filter when the template file for settings has the them named pe_console_data_filter and code_manager_data_filter.
Detailed Description
Update templates/splunk_hec.yaml.epp with correct setting names.
Add tests for pe-console events:
spec/acceptance/events_processor_spec.rb
spec/spec_helper_acceptance_local.rb
Update .github/workflows/integration_test.yml to test on PE LTS.
Checklist
[X] Acceptance Tests
[X] PR title is "(Ticket|Maint) Short Description"
[X] Commit title matches PR title
Summary
While setting up rspec tests I found that filtering does not work for
pe-console
andcode-manager
. This is a result of the processor script looking forsplunk_hec
settings namedpe-console_data_filter
andcode-manager_data_filter
when the template file for settings has the them namedpe_console_data_filter
andcode_manager_data_filter
.Detailed Description
templates/splunk_hec.yaml.epp
with correct setting names.pe-console
events:spec/acceptance/events_processor_spec.rb
spec/spec_helper_acceptance_local.rb
.github/workflows/integration_test.yml
to test on PE LTS.Checklist
[X] Acceptance Tests [X] PR title is "(Ticket|Maint) Short Description" [X] Commit title matches PR title