perfsonar-user - Re: [perfsonar-user] Grafana Destination Host Variable Not Showing IPs
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Andrew Lake <>
- To: "Strelka, Justin" <>
- Cc: "Yamamoto, Miguel" <>
- Subject: Re: [perfsonar-user] Grafana Destination Host Variable Not Showing IPs
- Date: Wed, 12 Jun 2024 00:15:34 +0200
Hello,
No not all of our testpoint destinations in the example provided have resolving hostnames. There are 2 that only have IP addresses which do not show up in the destination variable currently. When I change the variable to search on meta.destination.ip instead of the hostname field both the missing IPs show up as expected along with the IPs of the hosts that have hostnames.
What you are describing happens in the DB when a hostname is not present would be ideal but it does not seem to be working that way currently in version 5.0.8
-Justin
From: Andrew Lake <>
Date: Tuesday, June 11, 2024 at 3:40 PM
To: Yamamoto, Miguel <>, Strelka, Justin <>
Subject: Re: [perfsonar-user] Grafana Destination Host Variable Not Showing IPsCAUTION: This email originated from outside of NREL. Do not click links or open attachments unless you recognize the sender and know the content is safe.
If an IP address does not resolve to a hostname then the hostname field in the database will have the IP address and it will display. In other words the current field will return the IP addresses in such a case. In your example are there any IPs missing or were you just using that as an example and all your endpoints have hostnames?
On June 11, 2024 at 11:17:50 PM, Strelka, Justin () wrote:
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
--
To unsubscribe from this list: https://lists.internet2.edu/sympa/signoff/perfsonar-user
Attachment:
Description: Binary data
- [perfsonar-user] Grafana Destination Host Variable Not Showing IPs, Strelka, Justin, 06/11/2024
- Re: [perfsonar-user] Grafana Destination Host Variable Not Showing IPs, Andrew Lake, 06/11/2024
- Re: [perfsonar-user] Grafana Destination Host Variable Not Showing IPs, Strelka, Justin, 06/11/2024
- Re: [perfsonar-user] Grafana Destination Host Variable Not Showing IPs, Andrew Lake, 06/11/2024
- Re: [perfsonar-user] Grafana Destination Host Variable Not Showing IPs, Strelka, Justin, 06/11/2024
- Re: [perfsonar-user] Grafana Destination Host Variable Not Showing IPs, Andrew Lake, 06/11/2024
Archive powered by MHonArc 2.6.24.