Skip to main content
sadidmontero4
Seasoned ⭐️⭐️⭐️
Seasoned ⭐️⭐️⭐️
Aug 20, 2024 6:36 PM UTC
Solved

problem with create variable dinamic in grafana

Good afternoon, I have to create a variable of type "query" in grafana, I have a data model called "DM_ALL_ASSET_QUALITY_PASSPORT"" with the "Asset_Quality_ListaPropiedades" view, which contains 3 columns that are: "Asset", which is the type of assets, "Header" which tells me if it is General or Metadata, and there is the "Property" column. which contains the properties that each type of assets belongs to, my problem is when I try to call the "Properties" depending on the assets, but I always get this type of error: "Parser: Syntax error: assets{metadata={Type='Manifold'}} | select {Property}" , I try to run the query "assets{metadata={Type='${Asset}'}} | select {Property}" I have tried in different ways but I have not been able to find someone who can help me, attached image. Thanks a lot

 

@Aditya Kotiyal @HanishSharma @David Alvarez 

Dilini Fernando
Expert ⭐️⭐️⭐️⭐️
Aug 27, 2024 1:58 PM UTC

Hi @sadidmontero4,
 

The same question was reported as mentioned below, due to that I will be closing this thread.

 

1 reply

Dilini Fernando
Expert ⭐️⭐️⭐️⭐️
Expert ⭐️⭐️⭐️⭐️
Aug 27, 2024 1:58 PM UTC

Hi @sadidmontero4,
 

The same question was reported as mentioned below, due to that I will be closing this thread.