Hi all,
I have been using Grafana for dashboards on SQL data sources without issue. I am now moving to an Elastic datasource and I am out of my element. I have learned quite a bit, but I am stuck on how to do something that seems simple.
I have geohash data supplied to Grafana in Latitude, Longitude (51.507351,-0.127758). The Geomap Panel seems to want the geohash data to be Longitude, Latitude. My North American geohashes all appear to be in the Pacific Ocean and not on land.
The solution seems simple, manipulate the geohash so the values are reversed OR parse them out so I am individually map Latitude and Longitude with the visual. My problem…how? I have been experimenting with the Transformations, but I cannot see how to parse out a field. Am I missing something obvious?
I am using a query source as “Logs” from Elastic, here is a sample of the results set. Thanks for any help!
0:Object
_index:"my_index"
_type:"_doc"
_id:"c4187890-"
_score:null
_source:Object
Destination:"dataABC"
User:"john@acme"
gl2_remote_ip:"192.168.1.1"
gl2_remote_port:1234
source:"ABCD:"
gl2_source_input:"6586"
Source:"40.347.154.11"
LogTimeEST:"2023-12-17 11:10:16"
gl2_source_node:"35cf5dccc20fd"
timestamp:"2023-12-17 16:10:16.089"
Agent:"MyAgent"
gl2_accounted_message_size:896
level:5
Priority:"5"
streams:Array[2]
0:"000000000000000000000001"
1:"65774c82fa88f33bf8eb482c"
gl2_message_id:"01HHW8NQCVV1A"
message:"YadaYadaYada""
Source_geolocation:"34.6618,-116.532"
Source_country_code:"US"
FirewallWANIP:"192.168.1.1"
LogMessage:"WireGuard connected"
facility_num:22
Source_city_name:"The Desert"
facility:"local6"
sort:Array[1702829416089,0]