Skip to main content
 
 
Splunk Lantern

Visualizing metrics for data separated by physical boundaries

 

Many different types of public sector organizations need to monitor metrics relating to a number of different physical spaces. Some of examples of this include:

  • Military or defense organizations might need to monitor network traffic and security across multiple military departments or installations.
  • Law enforcement organizations or fire departments might need to monitor the status of devices used to ensure public safety, such as smoke detectors in different areas of a building.
  • Transportation organizations, such as airports, might need to monitor the status of surveillance cameras in different parts of the airport.

How to use Splunk software for this use case

This type of monitoring can be achieved through Splunk Dashboard Studio.

For an example of this feature in action, review the mock-up below, inspired by how NASA's International Space Station (ISS) uses the Splunk platform to monitor its unique physical spaces.

The ISS contains a network of spaces such as living spaces, laboratories, airlocks, and storage. If you want to monitor metrics related to each unique physical module, a choropleth map provides an interactive solution to configure shading on relative metrics. A user can also click and drill into any section of interest, which automatically updates the adjacent chart with more specific details.

This same concept easily provides relative metrics for any data separated by physical boundaries, such as blueprints, network topologies, floorplans, and geographic locations.

You can use the below ISS mock-up as inspiration and to see how a single dashboard can easily communicate your most complex data stories. In the top-right of the dashboard, you can see the custom choropleth map which visualizes the status of the different physical spaces in the ISS.

unnamed (50).png

Follow this process to make your own choropleth map for use in Dashboard Studio.

  1. Create an image using an application that can generate a Scalable Vector Graphic (SVG). The following example was created using Inkscape, which is a free vector graphics application. Each unique object within the choropleth map needs to be a separate vector object in the SVG file. Each shape in the below example is a representation of the individual structures that make up the ISS.

    unnamed (51).png

  2. Each object needs an associated ID that will be used for reference in Dashboard Studio, which also needs to match the related Splunk event data. The object ID can be edited in Inkspace by selecting the vector, and then clicking the Object menu then Object Properties.

    unnamed (52).png

  3. On the right side of the view, set the ID value in the ID: text box for the object you have selected. In the example below, the JPM module object has been selected and the ID field set to JPM. The related Splunk events include the field and value: module=JPM.

    unnamed (53).png

  4. Layer other vectors in your image that are not part of the choropleth to add labels, additional information, or images.
  5. After you have created all your vectors and labeled them with the appropriate ID names, save the graphic.
  6. The Splunk platform identifies the areas to fill in the choropleth map using the IDs specified for the object properties. Inkscape automatically puts in a fill value for each of the objects in your SVG file. The Splunk platform requires a minor modification to the SVG fill format. To do this, open your SVG file with a text editor.
  7. Move the fill value outside of the style field, and change its property to none. The left column in the table below shows what the text file looks like prior to modification, and the right column shows what the text file should look like.
    Original JPM object path in which the fill value is included in the style entry Correctly-formatted fill value
    unnamed (54).png unnamed (55).png
  8. Save the new SVG file from your text editor with the .svg file extension.

You can now use this custom SVG in Splunk Dashboard Studio as a standard choropleth map.

Next steps

For more help with creating custom choropleth maps and working in Dashboard Studio, use the following resources:

Splunk OnDemand Services: Use these credit-based services for direct access to Splunk technical consultants with a variety of technical services from a pre-defined catalog. Most customers have OnDemand Services per their license support plan. Engage the ODS team at ondemand@splunk.com if you require assistance.