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

Foundation for Logstash Metricbeat module #5540

Merged
merged 1 commit into from
Nov 14, 2017
Merged

Conversation

ruflin
Copy link
Member

@ruflin ruflin commented Nov 8, 2017

This are the base documents for the Logstash Metricbeat module. This allows to easily add more metricsets and metricsets in the future. So far it is marked as experimental.

Having this module should also help to sync the document structure with the Logstash filebeat module (@ph).

@ruflin ruflin added in progress Pull request is currently in progress. Metricbeat Metricbeat labels Nov 8, 2017
return port
}

func GetConfig(metricset string) map[string]interface{} {

Choose a reason for hiding this comment

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

exported function GetConfig should have comment or be unexported

return host
}

func GetEnvPort() string {

Choose a reason for hiding this comment

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

exported function GetEnvPort should have comment or be unexported


import "os"

func GetEnvHost() string {

Choose a reason for hiding this comment

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

exported function GetEnvHost should have comment or be unexported

return port
}

func GetConfig(metricset string) map[string]interface{} {

Choose a reason for hiding this comment

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

exported function GetConfig should have comment or be unexported

return host
}

func GetEnvPort() string {

Choose a reason for hiding this comment

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

exported function GetEnvPort should have comment or be unexported


import "os"

func GetEnvHost() string {

Choose a reason for hiding this comment

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

exported function GetEnvHost should have comment or be unexported

@ruflin ruflin added review and removed in progress Pull request is currently in progress. labels Nov 13, 2017
This are the base documents for the Logstash Metricbeat module. This allows to easily add more metricsets and metricsets in the future. So far it is marked as experimental.

Having this module should also help to sync the document structure with the Logstash filebeat module (@ph).
@tsg tsg added the v6.1.0 label Nov 14, 2017
@tsg tsg merged commit 82ecef3 into elastic:master Nov 14, 2017
@tsg
Copy link
Contributor

tsg commented Nov 14, 2017

@ruflin I made #5439 a meta ticket for tracking the followups.

@ruflin ruflin deleted the logstash-module branch November 15, 2017 02:06
@ruflin
Copy link
Member Author

ruflin commented Nov 15, 2017

Thanks, added on more not the issue.

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.

3 participants