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

Add flags -usage-list to print all plugins inputs for telegraf #788

Closed
wants to merge 3 commits into from
Closed

Conversation

ebookbug
Copy link
Contributor

@ebookbug ebookbug commented Mar 3, 2016

This pull request add a flag -usage-list for the telegraf,it will print all the plugins inputs when using telegraf -usage-list.
It will help the user to know what input is supported by the plugins.

Could you review this and merge this if it is OK?

@sparrc
Copy link
Contributor

sparrc commented Mar 4, 2016

can you add it to the help message, and also have it print out all of the Outputs?

@ebookbug
Copy link
Contributor Author

ebookbug commented Mar 6, 2016

I added output-list flag and rename the flag usage-list to input-list.

Pls check again

@@ -59,7 +62,9 @@ The flags are:
-sample-config print out full sample configuration to stdout
-config-directory directory containing additional *.conf files
-input-filter filter the input plugins to enable, separator is :
-input-list print all the plugins inputs
Copy link
Contributor

Choose a reason for hiding this comment

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

Indent is not correct.

@sparrc sparrc closed this in 7e31279 Mar 7, 2016
geodimm pushed a commit to miketonks/telegraf that referenced this pull request Mar 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants