Leading zeros on number field formatting

Hi,

I am trying to format a numeric field in kibana to show leading zeros.
The goal is to receive a fixed length on the field.

I configured a formatter on the field in the index management and followed the examples on numeral.js to receive a fixed length of five with the following format string: '00000'.

The numeric field still shows up trimmed. Is there something I am missing?

Nope there's nothing you're missing. Unfortunately Kibana's running off an forked implementation prior to that feature being introduced. I opened https://github.com/elastic/kibana/issues/18625 to see if we can get it implemented.

Thanks Jon.
As I assume not the highest priority gets pinned on this task, maybe an update to the help text on format fields can save future users some frustration?

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