# Scroll format in Elasticsearch input plugin

**URL:** <https://discuss.elastic.co/t/scroll-format-in-elasticsearch-input-plugin/90205>\
**Category:** Logstash\
**Created:** [June 21, 2017, 7:10am UTC](https://discuss.elastic.co/t/scroll-format-in-elasticsearch-input-plugin/90205 "2017-06-21T07:10:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marc\_Aragones](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@Marc\_Aragones](https://discuss.elastic.co/u/Marc_Aragones)\
**Post date:** [June 21, 2017, 7:10am UTC](https://discuss.elastic.co/t/scroll-format-in-elasticsearch-input-plugin/90205/1 "2017-06-21T07:10:52Z")

</div>

Hi,

In the Logstash's Elasticsearch input plugin there is the `scroll` field with `"1m"` as a default value. Documentation [says](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-elasticsearch.html):

> This parameter controls the keepalive time in seconds of the scrolling request and initiates the scrolling process.

My questions:

- Does `"1m"` mean 1 second or 1 minute?
- How can I set the scroll to 2 milliseconds?
- How can I set the scroll to 2 seconds?
- How can I set the scroll to 2 minutes?

---

<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:** [July 19, 2017, 7:11am UTC](https://discuss.elastic.co/t/scroll-format-in-elasticsearch-input-plugin/90205/2 "2017-07-19T07:11:11Z")

</div>

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