-
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
[Lens] Fix runtime mappings by using new API #83350
Conversation
Pinging @elastic/kibana-app (Team:KibanaApp) |
@elasticmachine merge upstream |
@wylieconlon This addition looks suspicious: https://github.com/elastic/kibana/pull/83350/files#diff-e6ffa5dc854b843b3ee3c3c28f8eae2f436c2df2b1ca299cca1fa5982e390cf8R3 Do we actually need it? |
@flash1293 This PR is being tested against a snapshot that isn't available on master, it needs that one-line change to the Jenkinsfile to test the right thing. Will remove before merging. |
"script" : { "source" : "emit(doc['bytes'].value)" } | ||
"type": "long", | ||
"script": { | ||
"script": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these be double nested?
💔 Build Failed
Failed CI StepsTest FailuresX-Pack API Integration Tests (Security Basic).x-pack/test/api_integration/apis/security/index_fields·ts.security (basic license) Index Fields GET /internal/security/fields/{query} should not include runtime fieldsStandard Out
Stack Trace
X-Pack API Integration Tests (Security Basic).x-pack/test/api_integration/apis/security/index_fields·ts.security (basic license) Index Fields GET /internal/security/fields/{query} should not include runtime fieldsStandard Out
Stack Trace
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
Fixed in #83530 |
Instead of removing this code, we can use the new API that was introduced here: elastic/elasticsearch#62906
Another option is to remove the runtime fields entirely, but it appears that we have usage in both Lens and the Security solution.