Skip to content

[7.x] [Fleet] Support input-level vars & templates (#83878)#84359

Merged
jen-huang merged 1 commit intoelastic:7.xfrom
jen-huang:backport/7.x/pr-83878
Nov 25, 2020
Merged

[7.x] [Fleet] Support input-level vars & templates (#83878)#84359
jen-huang merged 1 commit intoelastic:7.xfrom
jen-huang:backport/7.x/pr-83878

Conversation

@jen-huang
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

* Fix bug creating new policy on the fly

* Adjust UI for input with vars but no streams

* Revert "Fix bug creating new policy on the fly"

This reverts commit 34f7014.

* Add `compiled_input` field and compile input template, if any. Make compilation method names more generic (instead of only for streams). Add testts

* Add compiled input to generated agent yaml

* Don't return empty streams in agent yaml when there aren't any

* Update missed assertion

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@jen-huang jen-huang added the backport This PR is a backport of another PR label Nov 25, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
fleet 1.1MB 1.1MB +558.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
fleet 374.7KB 374.8KB +93.0B

Saved Objects .kibana field count

Every field in each saved object type adds overhead to Elasticsearch. Kibana needs to keep the total field count below Elasticsearch's default limit of 1000 fields. Only specify field mappings for the fields you wish to search on or query. See https://www.elastic.co/guide/en/kibana/master/development-plugin-saved-objects.html#_mappings

id before after diff
ingest-package-policies 30 31 +1

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@jen-huang jen-huang merged commit ef1c42c into elastic:7.x Nov 25, 2020
@jen-huang jen-huang deleted the backport/7.x/pr-83878 branch November 25, 2020 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants