Open jen-huang opened 2 hours ago
This API is currently returning 500: /api/fleet/epm/templates/aws_logs/1.4.1/inputs?format=yaml&prerelease=false
500
/api/fleet/epm/templates/aws_logs/1.4.1/inputs?format=yaml&prerelease=false
with this error about a duplicate yaml key:
[2024-11-14T19:32:57.465-08:00][ERROR][plugins.fleet] YAMLException: duplicated mapping key (12:1) 9 | content_type: <CONTENT_TYPE> 10 | encoding: <ENCODING> 11 | expand_event_list_from_field: < ... 12 | buffer_size: <BUFFER_SIZE> ------^ 13 | fips_enabled: <FIPS_ENABLED> 14 | include_s3_metadata: <INCLUDE_S ... at generateError (/Users/jen/Projects/kibana/node_modules/js-yaml/lib/loader.js:183:10) at throwError (/Users/jen/Projects/kibana/node_modules/js-yaml/lib/loader.js:187:9) at storeMappingPair (/Users/jen/Projects/kibana/node_modules/js-yaml/lib/loader.js:358:7) at readBlockMapping (/Users/jen/Projects/kibana/node_modules/js-yaml/lib/loader.js:1173:9) at composeNode (/Users/jen/Projects/kibana/node_modules/js-yaml/lib/loader.js:1441:12) at readDocument (/Users/jen/Projects/kibana/node_modules/js-yaml/lib/loader.js:1625:3) at loadDocuments (/Users/jen/Projects/kibana/node_modules/js-yaml/lib/loader.js:1688:5) at load (/Users/jen/Projects/kibana/node_modules/js-yaml/lib/loader.js:1714:19) at compileTemplate (/Users/jen/Projects/kibana/x-pack/plugins/fleet/server/services/epm/agent/agent.ts:37:53) at _compilePackageStream (/Users/jen/Projects/kibana/x-pack/plugins/fleet/server/services/package_policy.ts:1875:43) at async _compilePackageStreams (/Users/jen/Projects/kibana/x-pack/plugins/fleet/server/services/package_policy.ts:1808:10) at async /Users/jen/Projects/kibana/x-pack/plugins/fleet/server/services/package_policy.ts:1772:29 at async getTemplateInputs (/Users/jen/Projects/kibana/x-pack/plugins/fleet/server/services/epm/packages/get_template_inputs.ts:104:26) at async getInputsHandler (/Users/jen/Projects/kibana/x-pack/plugins/fleet/server/routes/epm/handlers.ts:612:14)
As a result, Integrations > Custom AWS Logs > Config tab does not load correctly.
Pinging @elastic/fleet (Team:Fleet)
This API is currently returning
500
:/api/fleet/epm/templates/aws_logs/1.4.1/inputs?format=yaml&prerelease=false
with this error about a duplicate yaml key:
As a result, Integrations > Custom AWS Logs > Config tab does not load correctly.