Method: Fluent::Plugin::RedisStoreOutput#operation_for_string
- Defined in:
- lib/fluent/plugin/out_redis_store.rb
#operation_for_string(record) ⇒ Object
164 165 166 167 168 169 170 |
# File 'lib/fluent/plugin/out_redis_store.rb', line 164 def operation_for_string(record) key = get_key_from(record) value = get_value_from(record) @redis.set key, value set_key_expire key end |