# Number format for mustache

**URL:** <https://discuss.elastic.co/t/number-format-for-mustache/330783>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [April 26, 2023, 4:34am UTC](https://discuss.elastic.co/t/number-format-for-mustache/330783 "2023-04-26T04:34:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![phong\_elastic](https://avatars.discourse-cdn.com/v4/letter/p/ce73a5/32.png) [@phong\_elastic](https://discuss.elastic.co/u/phong_elastic)\
**Post date:** [April 26, 2023, 4:34am UTC](https://discuss.elastic.co/t/number-format-for-mustache/330783/1 "2023-04-26T04:34:00Z")

</div>

Hello everyone. I'm trying to separate the value of a mustache value in the field to index in Elasticsearch Query Alert by thousands.  
For example the {{ timeresponse}} has a value of 2500000 but now I want to change it to 2,500,000. I tried someway but there's no use.

---

<div class="post-metadata">

**Author:** ![jcger](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@jcger](https://discuss.elastic.co/u/jcger)\
**Post date:** [April 26, 2023, 12:54pm UTC](https://discuss.elastic.co/t/number-format-for-mustache/330783/2 "2023-04-26T12:54:00Z")

</div>

Hi @phong_elastic !

The feature you are asking for is currently not available but we have an open issue where request like this can be made [[alerts] provide mustache functions for ease-of-use in transforming mustache variables · Issue #84217 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/84217). Feel free to add this use case there.

---

<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:** [May 24, 2023, 12:54pm UTC](https://discuss.elastic.co/t/number-format-for-mustache/330783/3 "2023-05-24T12:54:05Z")

</div>

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