# Paramedic plugin defaults

**URL:** <https://discuss.elastic.co/t/paramedic-plugin-defaults/12774>\
**Category:** Elasticsearch\
**Created:** [July 12, 2013, 5:21pm UTC](https://discuss.elastic.co/t/paramedic-plugin-defaults/12774 "2013-07-12T17:21:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![krispyjala](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krispyjala/32/846_2.png) [@krispyjala](https://discuss.elastic.co/u/krispyjala)\
**Post date:** [July 12, 2013, 5:21pm UTC](https://discuss.elastic.co/t/paramedic-plugin-defaults/12774/1 "2013-07-12T17:21:12Z")

</div>

Anyone know if there's a way to change the defaults so that the page starts  
with refreshing every 1 minute instead of 5 seconds? We have a lot of  
indexes, and starting with 5 seconds makes the page unusable, but at 1  
minute, it seems fine. So, if the initial page load is set to 1m refresh,  
then it should be good.

--  
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:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [July 12, 2013, 9:48pm UTC](https://discuss.elastic.co/t/paramedic-plugin-defaults/12774/2 "2013-07-12T21:48:17Z")

</div>

I never looked at the code, but this line should be the default

> <https://github.com/karmi/elasticsearch-paramedic/blob/4bb823f49d2e87290d598caca44bf7fb347e3a6d/js/app.js#L48>

App.refresh\_interval = App.refresh\_intervals.toArray()[1]

Changing the index from 1 to 3 should make the default setting 1 minute.  
You can simply create your own fork, although you would need to merge newer  
changes..

--  
Ivan

On Fri, Jul 12, 2013 at 10:21 AM, krispyjala [krispyjala@gmail.com](mailto:krispyjala@gmail.com) wrote:

> Anyone know if there's a way to change the defaults so that the page  
> starts with refreshing every 1 minute instead of 5 seconds? We have a lot  
> of indexes, and starting with 5 seconds makes the page unusable, but at 1  
> minute, it seems fine. So, if the initial page load is set to 1m refresh,  
> then it should be good.
> 
> --  
> 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).

--  
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:** ![krispyjala](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krispyjala/32/846_2.png) [@krispyjala](https://discuss.elastic.co/u/krispyjala)\
**Post date:** [July 15, 2013, 6:19pm UTC](https://discuss.elastic.co/t/paramedic-plugin-defaults/12774/3 "2013-07-15T18:19:10Z")

</div>

Thanks Ivan. Editing the file under plugins/paramedic/\_site/js fixed it.

-- Kris.

On Friday, July 12, 2013 2:48:17 PM UTC-7, Ivan Brusic wrote:

> I never looked at the code, but this line should be the default
> 
> [https://github.com/karmi/elasticsearch-paramedic/blob/4bb823f49d2e87290d598caca44bf7fb347e3a6d/js/app.js#L48](https://github.com/karmi/elasticsearch-paramedic/blob/4bb823f49d2e87290d598caca44bf7fb347e3a6d/js/app.js#L48)
> 
> App.refresh\_interval = App.refresh\_intervals.toArray()[1]
> 
> Changing the index from 1 to 3 should make the default setting 1 minute.  
> You can simply create your own fork, although you would need to merge newer  
> changes..
> 
> --  
> Ivan
> 
> On Fri, Jul 12, 2013 at 10:21 AM, krispyjala \<[krisp...@gmail.com](mailto:krisp...@gmail.com)\<javascript:\>
> 
> > wrote:
> 
> > Anyone know if there's a way to change the defaults so that the page  
> > starts with refreshing every 1 minute instead of 5 seconds? We have a lot  
> > of indexes, and starting with 5 seconds makes the page unusable, but at 1  
> > minute, it seems fine. So, if the initial page load is set to 1m refresh,  
> > then it should be good.
> > 
> > --  
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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:26am UTC](https://discuss.elastic.co/t/paramedic-plugin-defaults/12774/4 "2017-07-06T02:26:25Z")

</div>

Closed on July 6, 2017, 2:26am UTC


