Hi everyone,
So I have been searching for a way to create a dashboard that would generate X number of panels based on an output.
So lets say I have an SQL query that would give me the total number of cars(10 total cars), and the dashboard would generate 10 panels based on a template.
The only thing that would change would be the search ID of the cars.
example:
<dashboard>
<row>
<panel>
<title>Car number 1</title>
<event id="myevents">
<search>
<query>index=all_my_cars_info car_id = 1 (......)</query>
<earliest>0</earliest>
</search>
</panel>
</row>
<row>
<panel>
<title>Car number 2</title>
<event id="myevents">
<search>
<query>index=all_my_cars_info car_id = 2 (......)</query>
<earliest>0</earliest>
</search>
</panel>
</row>
<row>
(THE REST OF THE 8 CARS.....)
</dashboard>
Do you know if this is possible? I know that we can integrate JS on the dashboards or create whole HTML / JS dashboard, but i don't have any knowledge with JS to know if this would do the job / how to implement.
Best Regards.
... View more