Number format for mustache

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.

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. Feel free to add this use case there.

1 Like

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