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

Documentation Error: apiKey should not be quoted. #14

Open
scottdfedorov opened this issue Apr 2, 2020 · 0 comments
Open

Documentation Error: apiKey should not be quoted. #14

scottdfedorov opened this issue Apr 2, 2020 · 0 comments

Comments

@scottdfedorov
Copy link

In the documentation, the output shows that you need to enter "apiKey" => "key" in the opsgenie output section. However, this is incorrect. If "apiKey" is quoted, the configuration fails to load:
[2020-04-02T09:21:47,728][DEBUG][logstash.plugins.registry] On demand adding plugin to the registry {:name=>"opsgenie", :type=>"output", :class=>LogStash::Outputs::OpsGenie} [2020-04-02T09:21:47,744][ERROR][logstash.outputs.opsgenie] Unknown setting '"apiKey"' for opsgenie [2020-04-02T09:21:47,775][FATAL][logstash.runner ] The given configuration is invalid. Reason: Unable to configure plugins: (ConfigurationError) Something is wrong with your configuration.

The correct output section is:
output{ opsgenie{ apiKey => "key" } }

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

No branches or pull requests

1 participant