Skip to content

Clean up Kibana, remove Elasticsearch loading and 5.x version#10451

Merged
ruflin merged 2 commits intoelastic:masterfrom
ruflin:es-kibana-load
Jan 31, 2019
Merged

Clean up Kibana, remove Elasticsearch loading and 5.x version#10451
ruflin merged 2 commits intoelastic:masterfrom
ruflin:es-kibana-load

Conversation

@ruflin
Copy link
Copy Markdown
Contributor

@ruflin ruflin commented Jan 31, 2019

In 5.x the dashboards were loaded through Elasticsearch and not Kibana. For 6.x and 7.x dashboards are loaded through the Kibana API. The old code is removed in this PR.

Also some code is cleaned up around talking to 5.x Kibana APIs.

In 5.x the dashboards were loaded through Elasticsearch and not Kibana. For 6.x and 7.x dashboards are loaded through the Kibana API. The old code is removed in this PR.

Also some code is cleaned up around talking to 5.x Kibana APIs.
@ruflin ruflin self-assigned this Jan 31, 2019
@ruflin ruflin requested a review from a team as a code owner January 31, 2019 08:30
@ruflin
Copy link
Copy Markdown
Contributor Author

ruflin commented Jan 31, 2019

The goal of this code is to make the implementation of #10450 easier / cleaner.

@ruflin
Copy link
Copy Markdown
Contributor Author

ruflin commented Jan 31, 2019

CI failure in Journalbeat is related to not being able to push a docker image but not related to this PR.

Copy link
Copy Markdown
Member

@jsoriano jsoriano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, this may need an entry in the developers changelog.

kibanaConfig, esConfig, dashboardsConfig *common.Config,
kibanaConfig, dashboardsConfig *common.Config,
msgOutputter MessageOutputter,
) error {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it need an entry in the developers changelog?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, will add one in my follow up PR.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ruflin ruflin merged commit b054f08 into elastic:master Jan 31, 2019
@ruflin ruflin deleted the es-kibana-load branch January 31, 2019 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants