Open r00tu53r opened 2 years ago
I think that this is not supported in Kibana/Fleet yet, see https://github.com/elastic/kibana/issues/134321
I am encountering the same issue working on https://github.com/elastic/security-ml/issues/83, commenting here for documentation. I am aware of and following
As a temporary workaround, I am also adding .json
contents in my transform.yml
file (transform.yml
for transforms is required by the new package-spec
per https://github.com/elastic/package-spec/pull/307)
The curious thing is that if I simply translate the same .json
contents to .yml
, there is an error when installing the package: The error was this: Error installing host_risk_score 0.0.1: Unexpected token d in JSON at position 0
. This seems to indicate the in the backend, it's a .json parser (which can't parse .yml, but a .yml parser can parse .json).
An integration package with transforms defined in YAML format does not install. I see the following error in kibana -
However if I add JSON content to the YAML file the build and installation goes further but breaks with a different error about not being able to create the destination index.