Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] Grafana Destination Host Variable Not Showing IPs

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] Grafana Destination Host Variable Not Showing IPs


Chronological Thread 
  • From: "Strelka, Justin" <>
  • To: "\"Yamamoto, Miguel\"" <>
  • Subject: [perfsonar-user] Grafana Destination Host Variable Not Showing IPs
  • Date: Tue, 11 Jun 2024 21:17:24 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nrel.gov; dmarc=pass action=none header.from=nrel.gov; dkim=pass header.d=nrel.gov; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PIuI9SPrYTTmKy7dnY0XRmDVyA4R8FAwIJrxvBvdNMY=; b=n2qpmDUxEu4+K96lS/1LvW5VLrOQx1RlwqhLmbuGeLFFO5aH4RclbVhBRIjRRX2oAzoEoKLIDxeeu2RuY2jqDTyRbyrekgc5exStlntPnaD4QLp9P7hV+s3zJ/gvgUCtOg4ibE/De1+O6wmwcJO+Y1UnkJYUz45HVqDGcnGDCg3h00aQWUipl3V7QHPzcGbUEtz25e055ls9nawCuWCmQWPYSbqWWDlyu/mZ0uBm4n1xk8yNMh0ks7KXCrkgzhiaaw2Vz5Px+v4Acu1vmuUtn35E0OAIf5m21HVvp/t5XHKAQdA9j9zy+Oh4UcKJfydqKKqqrsvoCaTwqZydRbClKw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Cl6O7IY9MUHmTGfYb1SOz4zAFa3ef4oh8cMgK2k0kgeUU/QYRpoeehFE6N29j6TYXIiAP53d5xqJDdMG9o7sNYAxy7Ngqny/Ci7Mv5cN70Fj1CoJGkJ4R1F1LnhhG3WkfkiANo/8SwApTEqSpkedqzIQHjedq2AYOfXRMOgiqMwIWTYd+cVJDygNf87/HAY3YI2zvVYwFKU2Nh0bc0TaIyfjLV06VynLqGj/9ub82HptPIlsX40C0M7aRJo8uX0QdgcxXbDaAGpV9LR8OuHkbDUKAqbz+n+OkhuAWDmxy2kOpOZG5nKILjnz+5HlNH9K7eAgCi6ZGYVtC+8/lMlc0g==
  • Msip_labels: MSIP_Label_95965d95-ecc0-4720-b759-1f33c42ed7da_Enabled=True;MSIP_Label_95965d95-ecc0-4720-b759-1f33c42ed7da_SiteId=a0f29d7e-28cd-4f54-8442-7885aee7c080;MSIP_Label_95965d95-ecc0-4720-b759-1f33c42ed7da_SetDate=2024-06-11T21:07:55.9151386Z;MSIP_Label_95965d95-ecc0-4720-b759-1f33c42ed7da_ContentBits=0;MSIP_Label_95965d95-ecc0-4720-b759-1f33c42ed7da_Method=Standard

Hello,

 

I noticed on our Grafana instance that in the “Source” and “Destination” host variables only hostnames are displayed as available options from the “meta.destination.hostname.keyword” field. Hostnames are obviously preferred to IPs, however there are some test points in the PerfSonar community that do not have resolving hostnames and only have IPs.

 

Is it possible to alter the “Source” and “Destination” variable queries for the Grafana perfSONAR Endpoint Pair Explorer to provide hostname as preferred option and if hostname does not exist display the IP from the “meta.destination.ip” field?

 

Screenshot attached to show only hostnames are displayed for options in the variable drop downs.

 

 

Below is the query used in Grafana to display the hostnames which would need to be altered to display hostname if available and IP if hostname does not exist.

 

{"find": "terms", "field":"meta.destination.hostname.keyword", "size": 10000000}

 

Thanks,

Justin

PNG image




Archive powered by MHonArc 2.6.24.

Top of Page