# How to save large data send from logstash to Redis with list type?

**URL:** <https://discuss.elastic.co/t/how-to-save-large-data-send-from-logstash-to-redis-with-list-type/260210>\
**Category:** Logstash\
**Created:** [January 5, 2021, 1:30pm UTC](https://discuss.elastic.co/t/how-to-save-large-data-send-from-logstash-to-redis-with-list-type/260210 "2021-01-05T13:30:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iooi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iooi/32/79231_2.png) [@iooi](https://discuss.elastic.co/u/iooi)\
**Post date:** [January 5, 2021, 1:30pm UTC](https://discuss.elastic.co/t/how-to-save-large-data-send-from-logstash-to-redis-with-list-type/260210/1 "2021-01-05T13:30:24Z")

</div>

I'm using logstash to send data to Redis as

```
output {
  redis {
    host => ["${REDIS_URL}"]
    data_type => "list"
    key => "ID"
    codec => line { format => "%{id}"}
  }
}

```

When I check data in Redis, it created an `ID` list with 10000 records data in `DB0`. But the real data is much than 10000 records. Is it the limit number in Redis? How to deal with other data in a list of DB with Redis?

If 10000 is a limit in Redis, can I use other db like `DB1` to save other data?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 2, 2021, 1:30pm UTC](https://discuss.elastic.co/t/how-to-save-large-data-send-from-logstash-to-redis-with-list-type/260210/2 "2021-02-02T13:30:38Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
