Skip to content
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

Make Kibana client reusable #7211

Merged
merged 1 commit into from
May 31, 2018
Merged

Conversation

exekias
Copy link
Contributor

@exekias exekias commented May 30, 2018

This change moves Kibana client to a common place in libbeat, it also makes client config public and adds support for headers passing.

This change makes Kibana config public, it also includes headers passing.
@@ -6,7 +6,8 @@ import (
"github.com/elastic/beats/libbeat/common/transport/tlscommon"
)

type kibanaConfig struct {
// ClientConfig to connect to Kibana
type ClientConfig struct {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there an other config then clientConfig for Kibana? Otherwise you could just call it config.

@ruflin ruflin merged commit 5f4b84f into elastic:master May 31, 2018
@ruflin
Copy link
Collaborator

ruflin commented May 31, 2018

Merged, we can still make further adjustments later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants