# Unclear documentation for xpack....flush\_interval

**URL:** <https://discuss.elastic.co/t/unclear-documentation-for-xpack-flush-interval/155537>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [November 6, 2018, 11:38am UTC](https://discuss.elastic.co/t/unclear-documentation-for-xpack-flush-interval/155537 "2018-11-06T11:38:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacobot](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@jacobot](https://discuss.elastic.co/u/jacobot)\
**Post date:** [November 6, 2018, 11:38am UTC](https://discuss.elastic.co/t/unclear-documentation-for-xpack-flush-interval/155537/1 "2018-11-06T11:38:17Z")

</div>

The latest docs [https://www.elastic.co/guide/en/x-pack/current/auditing.html](https://www.elastic.co/guide/en/x-pack/current/auditing.html)  
for the options of xpack I want to set a value for `xpack.security.audit.index.flush_interval`

but is it milliseconds, seconds or a string like '4s' this is not clear from the doc

Cheers  
Jacob

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [November 6, 2018, 1:00pm UTC](https://discuss.elastic.co/t/unclear-documentation-for-xpack-flush-interval/155537/2 "2018-11-06T13:00:32Z")

</div>

Indeed, this is not clear. The settings accepts a `TimeValue` something like `1s` (which is also the default).

It would be great if you either filed an issue in the elasticsearch repo or even better a pull request that mentions this. The file in question is here (and you can even directly create a PR, if you have a github account) [https://github.com/elastic/elasticsearch/blob/master/x-pack/docs/en/security/auditing/output-index.asciidoc](https://github.com/elastic/elasticsearch/blob/master/x-pack/docs/en/security/auditing/output-index.asciidoc)

--Alex

---

<div class="post-metadata">

**Author:** ![jacobot](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@jacobot](https://discuss.elastic.co/u/jacobot)\
**Post date:** [November 6, 2018, 1:12pm UTC](https://discuss.elastic.co/t/unclear-documentation-for-xpack-flush-interval/155537/3 "2018-11-06T13:12:40Z")

</div>

my PR

> **[elastic/elasticsearch](https://github.com/elastic/elasticsearch/compare/master...jacobbogers:patch-1)**
>
> Open Source, Distributed, RESTful Search Engine. Contribute to elastic/elasticsearch development by creating an account on GitHub.

---

<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:** [December 4, 2018, 1:12pm UTC](https://discuss.elastic.co/t/unclear-documentation-for-xpack-flush-interval/155537/4 "2018-12-04T13:12:40Z")

</div>

Closed on December 4, 2018, 1:12pm UTC

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