Service Performance Monitoring

In this scenario, infrastructure teams can monitor global service performance for:

  • Response time variations across regions

  • Service degradation patterns

  • Capacity planning

Sample input data. Here is example input data for this scenario:

datacenter_latitudedatacenter_longitudeevent_simpleNameresponseTimeservice_namestatustimestamp
40.7128-74.006ServiceHealth250payment-apihealthy2025-09-23T10:15:22Z
51.5074-0.1278ServiceHealth180user-auth-servicehealthy2025-09-23T10:15:23Z
35.6762139.6503ServiceHealth220product-cataloghealthy2025-09-23T10:15:24Z
-33.8688151.2093ServiceHealth280order-processingdegraded2025-09-23T10:15:25Z
1.3521103.8198ServiceHealth320inventory-managerhealthy2025-09-23T10:15:26Z

Query. To create a worldmap, use the following query:

logscale
event_simpleName=ServiceHealth
| parseJson()
| service_name=*
| worldMap(
    lat=datacenter_latitude,
    lon=datacenter_longitude,
    magnitude=avg(responseTime)
)

Query breakdown:

  1. Filter for events with event_simpleName=ServiceHealth.

  2. Use parseJson() to extract JSON fields from the raw event data into individual fields that can be queried.

  3. Filter for events that have a service_name field.

  4. Use the worldMap() function with lat and lon parameters set to datacenter_latitude and datacenter_longitude, and magnitude set to avg(responseTime) to plot datacenters on the map sized by average response time.

Visualization: The map displays colored dots representing data centers worldwide. The size or color intensity of each marker corresponds to the average response time for that location — larger or darker markers indicate higher response times. Hover over markers to see exact metrics including datacenter location, service name, and average response time values.

Screenshot showing a World Map widget displaying ServiceHealth events as markers representing global datacenters, with marker sizes indicating average response times across different geographic locations, and Format World Map panel visible on the right showing Center, Marks, and Projection configuration options

Figure 257. Service Performance Monitoring


Configuration:

  1. From the Search page, type your query in the Query Editor → click Run

  2. Choose World Map in the Widget Selector

  3. Click the style icon : the side panel shows most settings already configured by default based on the query result.

  4. In Center, set the zoom level to show all your datacenters globally, or adjust latitude and longitude to focus on specific regions.

  5. In Marks, set the magnitude mode to Size to scale markers based on average response time. Configure Min point size and Max point size to make performance differences clearly visible across datacenters.

  6. Alternatively, set the magnitude mode to Opacity to use marker transparency for representing response times, adjusting min opacity and max opacity as needed.

  7. Add a descriptive Title such as Global Service Performance by Datacenter.

You can further customize this widget by setting more properties, see World Map Property Reference.