-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect data types in Fleet managed ingest pipelines #85486
Comments
Pinging @elastic/ingest-management (Feature:Fleet) |
This adds both a pipeline and a system test for the Palo Alto PAN-OS. The test uncovered an issue with incorrect data types in the final ingest pipeline that's loaded to ES. I added a work-around to the pipeline for the incorrect data types. elastic/kibana#85486 And there were a few undocumented fields.
@skh Could you take a look at this? |
I can reproduce the problem, but I also see it when I add the ingest pipeline manually with
Can you check if adding the pipeline with |
This adds both a pipeline and a system test for the Palo Alto PAN-OS. The test uncovered an issue with incorrect data types in the final ingest pipeline that's loaded to ES. I added a work-around to the pipeline for the incorrect data types. elastic/kibana#85486 And there were a few undocumented fields.
I can produce the same issue with the Elasticsearch API directly. @skh, so Fleet is directly passing YAML content to the |
Mostly, yes. We do insert references to other pipelines, if necessary, but other than that we just pass it through. |
Closing in favor of elastic/elasticsearch#66555 , please reopen if necessary. |
This adds both a pipeline and a system test for the Palo Alto PAN-OS. The test uncovered an issue with incorrect data types in the final ingest pipeline that's loaded to ES. I added a work-around to the pipeline for the incorrect data types. elastic/kibana#85486 And there were a few undocumented fields.
Kibana version:
Elasticsearch version:
Server OS version: Docker
Browser version: Firefox 83.0
Browser OS version: MacOS
Original install method (e.g. download page, yum, from source, etc.): Docker
Describe the bug:
Steps to reproduce:
GET _ingest/pipeline/logs-panw.panos-*
script
processor with several params.5. Compare those `params` values to the definition contained in the package definition. Note the JSON contains strings, but the pipeline source contains numbers. You can download the package from the package registry `curl -L -O https://epr.elastic.co/epr/panw/panw-0.3.2.zip`. The pipeline is in default.yml.
Expected behavior:
The ingest node pipeline in Elasticsearch should contain numeric values for
params
. My assumption is that there's an issue with the YAML to JSON conversion, but I'm not sure. What I expect to see is this conversion output (where JSON has numbers).Any additional context:
In this instance the incorrect data types cause problems within the Painless script. But this could cause problems elsewhere too. The error we see from this pipeline is
The text was updated successfully, but these errors were encountered: