Seems that better decision for this now is old good Google Maps app http://apps.splunk.com/app/368/#versionBox
Also what dissapointed me with new inbuilt maps that latitude and longitude are not defined from ipaddress field and that
Here is way to add labels to your markes in map, for example You can eliminate longitiude and latitude thing which is displayed in the markes and hard code other stuff like percentage or count... all you have to do is upload it in a .CSS file and save it in the app.
Below i have removed lat n long fields and added percentage field which will be displayed in map
div.leaflet-popup-content tr:first-child {
display: none;
}
div.leaflet-popup-content tr:nth-child(2) {
display: none;
}
div.leaflet-popup-content tr:nth-child(3):after {
content: "%";
Hi Venkat_16,
I'm trying to use your code to hide lat/long values and display some other values which are part of geostats.
hiding lat/long works well. but didnt understand correctly how to add a value. Do we need to provide the field value with content: " "
There is no attribute in the Splunk 6.0 simple xml to apply labels to your map markers; hoping for this enhancement in a future release.
I would love to see this. Do we know if Splunk is working on an enhancement for the maps element?
I'm also interested in this. I hope it'll be considered.
Thanks. Here's hoping.
Seems that better decision for this now is old good Google Maps app http://apps.splunk.com/app/368/#versionBox
Also what dissapointed me with new inbuilt maps that latitude and longitude are not defined from ipaddress field and that
Thanks. I'll look into the Google Maps app. I also agree that it is disappointing that built-in map is only supported in simple xml.
@ChrisG guys you are great! I really love Splunk and its documentation!:)
Docs are updated, thanks!
thanks for catching the error in the documentation.
We will rectify this asap.
thanks! I was misled with description of iplocation command in documentation where were no mention of latitude or longitude:
"The IP address field, specified in ip-address-fieldname, is looked up in a database and location fields information is added to the event. The fields are country, city, metroCode, areaCode, region, postalCode."
here are a few lines of example xml to create a
map dashboard and to get latitude, longitude for ipaddress.
(assuming you have events of sourcetype, access_combined_wcookie)