Skip to main content
Answer

problem with create variable dinamic in grafana

  • August 20, 2024
  • 1 reply
  • 37 views

sadidmontero4
Seasoned
Forum|alt.badge.img+7

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 

Best answer by Dilini Fernando

Hi @sadidmontero4,
 

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

 

1 reply

Dilini Fernando
Seasoned Practitioner
Forum|alt.badge.img+2
  • Seasoned Practitioner
  • Answer
  • August 27, 2024

Hi @sadidmontero4,
 

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