Skip to content

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 [email protected]

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 <[email protected]>
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