Dashboards & Visualizations

map visualization - regex for mapping.fieldColors

mikaelbje
Motivator

I'm trying to create a map visualization for different sites and I want to show each site name as well as their status on the map where status can be Up or Down. I'd like to color status Up green and status Down red. When I hover over a cluster/site I'd like to see the location name. I'm only able to get a count of Up/Down sites but without site names OR an overview of all sites but with no Up/Down info (I can always get the info in using an eval to include status into my location_name field, but this way I can't color it green/red.

Would it be possible to include support for regular expressions in mapping.fieldColors? I.e. instead of "Up:0xRRGGBB,Down:0xRR00FF", I could have "^.+ : Up$" and "^.+ : Down$" if I'd like to have let's say multiple fields returned to indicate location names + status (Up or Down) and I would like to color Up green and Down red but still show the location name.

SanthoshSreshta
Contributor

hi,.
i am also looking to add colors in geostats map.

here is the link for the question I had posted
http://answers.splunk.com/answers/236609/can-we-give-colors-in-geostats-based-on-ranges-of.html
if found please post the answer there .

0 Karma

xisura
Communicator

hi same situation here. Did you find a workaround or a solution in this ?

0 Karma

mikaelbje
Motivator

Finally found this! A little trick using xyseries might help you solve what you're trying to accomplish. It certainly helped me. Doesn't relly solve the regex part where field names might be dynamic though.

http://answers.splunk.com/answers/78397/changing-colors-in-a-column-chart.html

0 Karma

mikaelbje
Motivator

No, unfortunately a satisfactory solution was not found.

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...