# JMX index alias

**URL:** <https://discuss.elastic.co/t/jmx-index-alias/5243>\
**Category:** Elasticsearch\
**Created:** [August 24, 2011, 8:17pm UTC](https://discuss.elastic.co/t/jmx-index-alias/5243 "2011-08-24T20:17:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sebastian\_Gavarini](https://avatars.discourse-cdn.com/v4/letter/s/db5fbb/32.png) [@Sebastian\_Gavarini](https://discuss.elastic.co/u/Sebastian_Gavarini)\
**Post date:** [August 24, 2011, 8:17pm UTC](https://discuss.elastic.co/t/jmx-index-alias/5243/1 "2011-08-24T20:17:36Z")

</div>

Hi,

I was thinking in using JMX monitoring to plot some data, like index  
size, doc. count, translog ops, etc. The problem I am having is that  
only the indices names are shown under "org.elasticsearch/indices",  
not the aliases, so it's impossible to add an agent request for that  
index, as the name changes from time to time (when I do a full reindex  
for example, as I increment the index version and swap the alias  
later). Also the caches status would be a nice JMX addition.

I think it must be somewhere in the roadmap, meanwhile I can implement  
myself an MBean using the status API and the like, but I would like to  
know if you are planning to add it soon so I won't waste time in it  
now.

Thanks,  
Sebastian.

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [August 24, 2011, 10:12pm UTC](https://discuss.elastic.co/t/jmx-index-alias/5243/2 "2011-08-24T22:12:38Z")

</div>

Its definitely doable, but, I am not a big fan of JMX monitoring, and  
depending on the monitoring platform you use, would personally plug in calls  
to the REST API.

On Wed, Aug 24, 2011 at 11:17 PM, Sebastian [sgavarini@gmail.com](mailto:sgavarini@gmail.com) wrote:

> Hi,
> 
> I was thinking in using JMX monitoring to plot some data, like index  
> size, doc. count, translog ops, etc. The problem I am having is that  
> only the indices names are shown under "org.elasticsearch/indices",  
> not the aliases, so it's impossible to add an agent request for that  
> index, as the name changes from time to time (when I do a full reindex  
> for example, as I increment the index version and swap the alias  
> later). Also the caches status would be a nice JMX addition.
> 
> I think it must be somewhere in the roadmap, meanwhile I can implement  
> myself an MBean using the status API and the like, but I would like to  
> know if you are planning to add it soon so I won't waste time in it  
> now.
> 
> Thanks,  
> Sebastian.

---

<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, 3:56am UTC](https://discuss.elastic.co/t/jmx-index-alias/5243/3 "2017-07-06T03:56:04Z")

</div>


