Trying to make a canvas workpad


I have this configuration:

with this preview data:

and the display has this configuration with the following error:


Can someone help me understand why I'm having this error?

Thank you very much

You are trying to add a wheel so you want to show a percentage value. Can you open the Expression Editor and add a max property to the progress function?

I think the issue you are seeing is not directly related with the problem, you just need to add a max value so Canvas knows which percentage to render (a count of timestamps in your screenshot).

Sharing the code here in case you want to test against the logs sample dataset

| selectFilter
| esdocs index="kibana_sample_data_logs" fields="timestamp, ip" sort="timestamp, DESC"
| math "size(ip)"
| progress shape="wheel" label={formatnumber "0"}  max=10000
  font={font size=24 family="'Open Sans', Helvetica, Arial, sans-serif" color="#000000" align="center"}
| render

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