Static text in table visualization

Hey, i have a table visualization in Kibana (8.12.1) to display some batch job metrics. I have a field that holds batch job name, and i put that onto a table together with some statistics like average execution time, amount of executions etc. All that is good and simple. What i want to do, is add some static text with batch job description in that table, so
BatchjobA | my description of batch job A | executions=15 | avg duration=10s

I was thinking about creating custom formula for that, so if(batchjob_name=="BatchjobA", "my description of batch job A") but i can't get that to work, can anyone suggest if that's possible and how to accomplish that?

Hi @Bartek_Kujda

I think your best option here is a runtime field: based on some other document field produce a description for that field, then add a new Metric using Last Value of that field.
Lens Formula works only with numeric values, so in this context won't help.

Hi Marco! Thanks for the advice, i was able to create runtime field to get what i need :slight_smile: