# Optimum index.translog.flush\_ threshold\_ops setting

**URL:** <https://discuss.elastic.co/t/optimum-index-translog-flush--threshold-ops-setting/11806>\
**Category:** Elasticsearch\
**Created:** [May 4, 2013, 5:10am UTC](https://discuss.elastic.co/t/optimum-index-translog-flush--threshold-ops-setting/11806 "2013-05-04T05:10:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![subin](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@subin](https://discuss.elastic.co/u/subin)\
**Post date:** [May 4, 2013, 5:10am UTC](https://discuss.elastic.co/t/optimum-index-translog-flush--threshold-ops-setting/11806/1 "2013-05-04T05:10:52Z")

</div>

I'm not sure how to deduce the optimum "index.translog.flush\_  
threshold\_ops" for my Logstash setup.  
Logstash indexes are created on daily basis. I'd like some advises. I hope  
these helps:

i. ES version- 0.90.0 stable  
ii. ES index template  
curl -XPUT [http://localhost:9200/\_template/loggerstash](http://localhost:9200/_template/loggerstash)[http://10.0.4.24:9200/\_template/loggerstash](http://10.0.4.24:9200/_template/loggerstash)-d '  
{

```
"template" : 

```

"logstash\*",  
"settings" : { "number\_of\_shards" : 1,  
"index.cache.field.type" : "soft",  
"index.refresh\_interval" : "10s",  
"index.store.compress.stored" : true }  
}'  
iii. Logstash pushes approx. 2800 logs/sec into ES.  
iv. ES is tuned with  
ES\_HEAP\_SIZE=3g  
MAX\_LOCKED\_MEMORY=unlimited  
MAX\_OPEN\_FILES=65535  
bootstrap.mlockall= true

Do I need further change other parameters mentioned here[http://www.elasticsearch.org/guide/reference/index-modules/translog/](http://www.elasticsearch.org/guide/reference/index-modules/translog/)other than the default?

Thanks,

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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 6, 2017, 2:38am UTC](https://discuss.elastic.co/t/optimum-index-translog-flush--threshold-ops-setting/11806/2 "2017-07-06T02:38:22Z")

</div>


