Skip to content

Support for Sorted Set (ZSET) in REDIS #83

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tandara0
Copy link

@tandara0 tandara0 commented Jun 16, 2020

This adds support for ZSET in REDIS with data_type 'sortedset'.
Batch is supported, too.

The commit adds the following options to the configuration:

  • **reverse_order boolean, default false, pop high score items first

Usage example:

input {
redis {
host => "127.0.0.1"
port => 6379
data_type => "sortedset"
key => "syslog"
reverse_order => true
}
}

This change originally issued at #56.

Signed-off-by: tandara0 j0.kim@samsung.com

Thanks for contributing to Logstash! If you haven't already signed our CLA, here's a handy link: https://www.elastic.co/contributor-agreement/

tandara0 added 2 commits June 16, 2020 20:35
Batch is supported, too.

The commit adds the following options to the configuration:
* **reverse_order *boolean*, default false, pop high score items first

Usage example:
  input {
    redis {
	host => "127.0.0.1"
	port => 6379
	data_type => "sortedset"
	key => "syslog"
	reverse_order => true
    }
  }

Signed-off-by: tandara0 <j0.kim@samsung.com>
Signed-off-by: tandara0 <j0.kim@samsung.com>
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