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

Renamed redis.index option to redis.key #2077

Merged
merged 1 commit into from
Jul 25, 2016

Conversation

tsg
Copy link
Contributor

@tsg tsg commented Jul 20, 2016

The "index" setting name has historical reasons, from the times that
all outputs shared the same configuration options. Since the meaning and
contents of the "index" setting are starting to vary per output, it's time
to clean this up. The Redis "index" is now called "key".

The "index" setting still works, but it's deprecated.

Before this change, the index was still somehow special, since it was set to
the beatName outside of the output. This removes this hack, and sets index to
beatName only in the Elasticsearch and Logstash modules.

Part of #2074.

This also removes the output.file.index setting, but this setting was never documented, so removing it shouldn't affect anyone. The setting was equivalent to setting output.file.filename.

@tsg tsg added in progress Pull request is currently in progress. review labels Jul 20, 2016
@tsg tsg mentioned this pull request Jul 20, 2016
5 tasks
@tsg tsg removed the in progress Pull request is currently in progress. label Jul 21, 2016
@tsg tsg force-pushed the replace_redis_index_with_key branch from df4cb16 to 245dd0a Compare July 21, 2016 09:27
@urso
Copy link

urso commented Jul 21, 2016

LGTM.

missing change in config.full.yml (in libbeat) plus $ make update.

@tsg tsg mentioned this pull request Jul 21, 2016
The "index" setting name has historical reasons, from the times that
all outputs shared the same configuration options. Since the meaning and
contents of the "index" setting are starting to vary per output, it's time
to clean this up. The Redis "index" is now called "key".

Before this change, the index was still somehow special, since it was set to
the beatName outside of the output. This removes this hack, and sets index to
beatName only in the Elasticsearch and Logstash modules.

This also removes the `index` setting for the file output, but that was never
documented.

Part of elastic#2074.
@tsg tsg force-pushed the replace_redis_index_with_key branch from 245dd0a to e83d6a1 Compare July 21, 2016 15:25
@tsg
Copy link
Contributor Author

tsg commented Jul 21, 2016

@urso Thanks for the review. Configs updated and rebased.

@urso urso merged commit a0dd781 into elastic:master Jul 25, 2016
@tsg tsg deleted the replace_redis_index_with_key branch August 25, 2016 10:34
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.

2 participants