Grafana dashboard: USGS Earthquakes
Description: USGS global earthquake data feed viewed over worldmap panel plugin.

Dashboard shows earthquake activity as updated by USGS GeoJSON data feed at:
https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_hour.geojson

More information about the data feed here:
https://earthquake.usgs.gov/earthquakes/feed/v1.0/geojson.php

Datasource is Influxdb, with a specific database named "usgs". Measurements are stored in the table "earthquakes". Collection is Telegraf Agent parsing the GeoJSON data feed. Detail on the Telegraf settings below.

WorldMap Panel Plugin is configured for lat/lang location identification. Magnitude of earthquake event corresponds with color and size of the data points on the map. Map Data options set to Table, and coordinates to support Lat/Lang from data feed, queried from influxdb.

Magnitude values are graphed with where clauses over lat/lang grids over interesting area's for basic alarm functions. Also have a where clause for the title of an interesting area like a state or country.


{
  "__inputs": [
    {
      "name": "DS_INFLUXDB",
      "label": "InfluxDB",
      "description": "Configure for database \"usgs\". Measurments are stored in table \"earthquakes\".",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__requires": [
    {
      "type": "panel",
      "id": "bargauge",
      "name": "Bar Gauge",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "6.2.5"
    },
    {
      "type": "panel",
      "id": "grafana-worldmap-panel",
      "name": "Worldmap Panel",
      "version": "0.2.0"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "description": "USGS global earthquake data feed viewed over worldmap panel plugin.",
  "editable": true,
  "gnetId": 9630,
  "graphTooltip": 1,
  "id": null,
  "links": [],
  "panels": [
    {
      "datasource": "${DS_INFLUXDB}",
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 22,
      "links": [],
      "options": {
        "displayMode": "lcd",
        "fieldOptions": {
          "calcs": [
            "max"
          ],
          "defaults": {
            "decimals": 1,
            "max": 9,
            "min": 0
          },
          "mappings": [],
          "override": {},
          "thresholds": [
            {
              "color": "green",
              "index": 0,
              "value": null
            },
            {
              "color": "#EAB839",
              "index": 1,
              "value": 4.5
            },
            {
              "color": "red",
              "index": 2,
              "value": 6
            }
          ],
          "values": false
        },
        "orientation": "horizontal"
      },
      "targets": [
        {
          "alias": "$tag_properties_place",
          "groupBy": [
            {
              "params": [
                "properties_place"
              ],
              "type": "tag"
            }
          ],
          "measurement": "earthquakes",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"properties_mag\" FROM \"http\" WHERE (\"properties_mag\" > 4.0) AND $timeFilter GROUP BY \"properties_place\"",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "properties_mag"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "properties_mag",
              "operator": ">",
              "value": "4.0"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Magnitude > 4.0",
      "transparent": true,
      "type": "bargauge"
    },
    {
      "circleMaxSize": "20",
      "circleMinSize": 2,
      "colors": [
        "#1f78c1",
        "#508642",
        "#ef843c",
        "#e5ac0e",
        "#bf1b00"
      ],
      "datasource": "${DS_INFLUXDB}",
      "decimals": 2,
      "esMetric": "Count",
      "gridPos": {
        "h": 15,
        "w": 17,
        "x": 0,
        "y": 7
      },
      "hideEmpty": false,
      "hideTimeOverride": false,
      "hideZero": false,
      "id": 2,
      "initialZoom": "2",
      "links": [],
      "locationData": "table",
      "mapCenter": "(0°, 0°)",
      "mapCenterLatitude": 0,
      "mapCenterLongitude": 0,
      "maxDataPoints": 1,
      "mouseWheelZoom": true,
      "options": {},
      "showLegend": true,
      "stickyLabels": true,
      "tableQueryOptions": {
        "geohashField": "geohash",
        "labelField": "place",
        "latitudeField": "latitude",
        "longitudeField": "longitude",
        "metricField": "metric",
        "queryType": "coordinates"
      },
      "targets": [
        {
          "groupBy": [],
          "hide": false,
          "measurement": "earthquakes",
          "orderByTime": "ASC",
          "policy": "autogen",
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "properties_mag"
                ],
                "type": "field"
              },
              {
                "params": [
                  "metric"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "geometry_coordinates_1"
                ],
                "type": "field"
              },
              {
                "params": [
                  "latitude"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "properties_title"
                ],
                "type": "field"
              },
              {
                "params": [
                  "place"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "geometry_coordinates_0"
                ],
                "type": "field"
              },
              {
                "params": [
                  "longitude"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": "1,2,4,6",
      "title": "USGA_Earthquakes_Magnitude_Location",
      "transparent": true,
      "type": "grafana-worldmap-panel",
      "unitPlural": "",
      "unitSingle": "",
      "unitSingular": "",
      "valueName": "current"
    },
    {
      "alert": {
        "conditions": [
          {
            "evaluator": {
              "params": [
                6
              ],
              "type": "gt"
            },
            "operator": {
              "type": "and"
            },
            "query": {
              "params": [
                "A",
                "24h",
                "now"
              ]
            },
            "reducer": {
              "params": [],
              "type": "max"
            },
            "type": "query"
          }
        ],
        "executionErrorState": "alerting",
        "for": "2m",
        "frequency": "1m",
        "handler": 1,
        "message": "Large Earthquake Alert",
        "name": "Magnitude Alert",
        "noDataState": "no_data",
        "notifications": []
      },
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUXDB}",
      "decimals": 1,
      "fill": 0,
      "gridPos": {
        "h": 7,
        "w": 7,
        "x": 17,
        "y": 7
      },
      "id": 6,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": false,
        "max": true,
        "min": false,
        "rightSide": true,
        "show": true,
        "sort": "max",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": false,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null as zero",
      "options": {},
      "paceLength": 10,
      "percentage": false,
      "pointradius": 3,
      "points": true,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_properties_place",
          "groupBy": [
            {
              "params": [
                "properties_place"
              ],
              "type": "tag"
            }
          ],
          "measurement": "earthquakes",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "properties_mag"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "properties_mag",
              "operator": ">",
              "value": "4.0"
            }
          ]
        }
      ],
      "thresholds": [
        {
          "colorMode": "critical",
          "fill": true,
          "line": true,
          "op": "gt",
          "value": 6,
          "yaxis": "left"
        }
      ],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Magnitude > 6.0",
      "tooltip": {
        "shared": true,
        "sort": 2,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 2,
          "max": "10",
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "alert": {
        "conditions": [
          {
            "evaluator": {
              "params": [
                0.5
              ],
              "type": "gt"
            },
            "operator": {
              "type": "and"
            },
            "query": {
              "params": [
                "A",
                "1h",
                "now"
              ]
            },
            "reducer": {
              "params": [],
              "type": "max"
            },
            "type": "query"
          }
        ],
        "executionErrorState": "alerting",
        "for": "0",
        "frequency": "1h",
        "handler": 1,
        "name": "Tsunami Alert",
        "noDataState": "no_data",
        "notifications": []
      },
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUXDB}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 7,
        "x": 17,
        "y": 14
      },
      "id": 8,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": false,
        "max": true,
        "min": false,
        "rightSide": true,
        "show": true,
        "sort": "max",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {},
      "paceLength": 10,
      "percentage": false,
      "pointradius": 5,
      "points": true,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_properties_place",
          "groupBy": [
            {
              "params": [
                "properties_place"
              ],
              "type": "tag"
            }
          ],
          "measurement": "earthquakes",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "scenarioId": "random_walk",
          "select": [
            [
              {
                "params": [
                  "properties_tsunami"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [
        {
          "colorMode": "critical",
          "fill": true,
          "line": true,
          "op": "gt",
          "value": 0.5
        }
      ],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Tsunami Alert",
      "tooltip": {
        "shared": true,
        "sort": 2,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "columns": [],
      "datasource": "${DS_INFLUXDB}",
      "fontSize": "100%",
      "gridPos": {
        "h": 23,
        "w": 24,
        "x": 0,
        "y": 22
      },
      "id": 4,
      "links": [],
      "options": {},
      "pageSize": null,
      "scroll": true,
      "showHeader": true,
      "sort": {
        "col": 6,
        "desc": true
      },
      "styles": [
        {
          "alias": "Time",
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "pattern": "Time",
          "type": "date"
        },
        {
          "alias": "",
          "colorMode": "value",
          "colors": [
            "rgba(50, 172, 45, 0.97)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(245, 54, 54, 0.9)"
          ],
          "decimals": 2,
          "link": false,
          "pattern": "/Magnitude/",
          "thresholds": [
            "1",
            "6"
          ],
          "type": "number",
          "unit": "short"
        },
        {
          "alias": "",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "link": true,
          "linkTargetBlank": true,
          "linkUrl": "${__cell:raw}",
          "mappingType": 1,
          "pattern": "/URL/",
          "thresholds": [],
          "type": "number",
          "unit": "short"
        },
        {
          "alias": "",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "Updated",
          "thresholds": [],
          "type": "date",
          "unit": "short"
        }
      ],
      "targets": [
        {
          "alias": "Summary",
          "groupBy": [],
          "measurement": "earthquakes",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "scenarioId": "random_walk",
          "select": [
            [
              {
                "params": [
                  "properties_title"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "Magnitude",
          "groupBy": [],
          "measurement": "earthquakes",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "properties_mag"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "Tsunami",
          "groupBy": [],
          "measurement": "earthquakes",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "F",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "properties_tsunami"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "Type",
          "groupBy": [],
          "measurement": "earthquakes",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "properties_type"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "URL",
          "groupBy": [],
          "measurement": "earthquakes",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "properties_url"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "Updated",
          "groupBy": [],
          "measurement": "earthquakes",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "E",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "properties_updated"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        }
      ],
      "title": "Earthquakes Table",
      "transform": "timeseries_to_columns",
      "transparent": true,
      "type": "table"
    },
    {
      "alert": {
        "conditions": [
          {
            "evaluator": {
              "params": [
                2
              ],
              "type": "gt"
            },
            "operator": {
              "type": "and"
            },
            "query": {
              "params": [
                "A",
                "1h",
                "now"
              ]
            },
            "reducer": {
              "params": [],
              "type": "max"
            },
            "type": "query"
          }
        ],
        "executionErrorState": "alerting",
        "for": "1h",
        "frequency": "15m",
        "handler": 1,
        "name": "Washington Proximity alert",
        "noDataState": "no_data",
        "notifications": []
      },
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUXDB}",
      "decimals": null,
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 0,
        "y": 45
      },
      "id": 13,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": false,
        "max": true,
        "min": false,
        "rightSide": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": false,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {},
      "paceLength": 10,
      "percentage": false,
      "pointradius": 5,
      "points": true,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_properties_place",
          "groupBy": [
            {
              "params": [
                "properties_place"
              ],
              "type": "tag"
            }
          ],
          "measurement": "earthquakes",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT  \"properties_mag\" FROM \"http\" where properties_title =~ /.*Washington.*/",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "time_series",
          "scenarioId": "random_walk",
          "select": [
            [
              {
                "params": [
                  "properties_mag"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "properties_title",
              "operator": "=~",
              "value": "/.*Washington.*/"
            }
          ]
        }
      ],
      "thresholds": [
        {
          "colorMode": "critical",
          "fill": true,
          "line": true,
          "op": "gt",
          "value": 2
        }
      ],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Washington State",
      "tooltip": {
        "shared": true,
        "sort": 2,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "decimals": null,
          "format": "none",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "decimals": 5,
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "alert": {
        "conditions": [
          {
            "evaluator": {
              "params": [
                4
              ],
              "type": "gt"
            },
            "operator": {
              "type": "and"
            },
            "query": {
              "params": [
                "A",
                "1h",
                "now"
              ]
            },
            "reducer": {
              "params": [],
              "type": "max"
            },
            "type": "query"
          }
        ],
        "executionErrorState": "alerting",
        "for": "0",
        "frequency": "15m",
        "handler": 1,
        "message": "LAX Branch Proximity Alert",
        "name": "California Branch Proximity alert",
        "noDataState": "ok",
        "notifications": [
          {
            "id": 1
          }
        ]
      },
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUXDB}",
      "decimals": 1,
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 12,
        "y": 45
      },
      "id": 10,
      "interval": "",
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": false,
        "max": true,
        "min": false,
        "rightSide": true,
        "show": true,
        "sort": null,
        "sortDesc": null,
        "total": false,
        "values": true
      },
      "lines": false,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {},
      "paceLength": 10,
      "percentage": false,
      "pointradius": 5,
      "points": true,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_properties_place",
          "groupBy": [
            {
              "params": [
                "properties_place"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "earthquakes",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"properties_mag\" FROM \"http\" WHERE properties_title =~ /.*CA.*/",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "time_series",
          "scenarioId": "random_walk",
          "select": [
            [
              {
                "params": [
                  "properties_mag"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "properties_title",
              "operator": "=~",
              "value": "/.*\\sCA.*/"
            }
          ]
        }
      ],
      "thresholds": [
        {
          "colorMode": "critical",
          "fill": true,
          "line": true,
          "op": "gt",
          "value": 4,
          "yaxis": "left"
        }
      ],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "California > 4.0",
      "tooltip": {
        "shared": true,
        "sort": 2,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "decimals": null,
          "format": "none",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "decimals": 5,
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "alert": {
        "conditions": [
          {
            "evaluator": {
              "params": [
                4
              ],
              "type": "gt"
            },
            "operator": {
              "type": "and"
            },
            "query": {
              "params": [
                "A",
                "23h",
                "now"
              ]
            },
            "reducer": {
              "params": [],
              "type": "max"
            },
            "type": "query"
          }
        ],
        "executionErrorState": "alerting",
        "for": "0",
        "frequency": "15m",
        "handler": 1,
        "name": "Europe Lat/Lang proximity alert",
        "noDataState": "ok",
        "notifications": []
      },
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUXDB}",
      "decimals": null,
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 0,
        "y": 54
      },
      "id": 20,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": false,
        "max": true,
        "min": false,
        "rightSide": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": false,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {},
      "paceLength": 10,
      "percentage": false,
      "pointradius": 5,
      "points": true,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_properties_place",
          "groupBy": [
            {
              "params": [
                "properties_place"
              ],
              "type": "tag"
            }
          ],
          "measurement": "earthquakes",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT  \"properties_mag\" FROM \"http\" where geometry_coordinates_1 > 36 AND geometry_coordinates_1 < 71 AND  geometry_coordinates_0 > -30  AND geometry_coordinates_0 < 38",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "time_series",
          "scenarioId": "random_walk",
          "select": [
            [
              {
                "params": [
                  "properties_mag"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "geometry_coordinates_1",
              "operator": ">",
              "value": "36"
            },
            {
              "condition": "AND",
              "key": "geometry_coordinates_1",
              "operator": "<",
              "value": "71"
            },
            {
              "condition": "AND",
              "key": "geometry_coordinates_0",
              "operator": ">",
              "value": "-30"
            },
            {
              "condition": "AND",
              "key": "geometry_coordinates_0",
              "operator": "<",
              "value": "38"
            }
          ]
        }
      ],
      "thresholds": [
        {
          "colorMode": "critical",
          "fill": true,
          "line": true,
          "op": "gt",
          "value": 4
        }
      ],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Europe Lat/Lang proximity",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "decimals": null,
          "format": "none",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "decimals": 5,
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "alert": {
        "conditions": [
          {
            "evaluator": {
              "params": [
                2.5
              ],
              "type": "gt"
            },
            "operator": {
              "type": "and"
            },
            "query": {
              "params": [
                "A",
                "24h",
                "now"
              ]
            },
            "reducer": {
              "params": [],
              "type": "max"
            },
            "type": "query"
          }
        ],
        "executionErrorState": "alerting",
        "for": "5m",
        "frequency": "15m",
        "handler": 1,
        "name": "SouthAmerica Lat/Lang proximity alert",
        "noDataState": "ok",
        "notifications": []
      },
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUXDB}",
      "decimals": null,
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 12,
        "y": 54
      },
      "id": 19,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": false,
        "max": true,
        "min": false,
        "rightSide": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": false,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {},
      "paceLength": 10,
      "percentage": false,
      "pointradius": 5,
      "points": true,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_properties_place",
          "groupBy": [
            {
              "params": [
                "properties_place"
              ],
              "type": "tag"
            }
          ],
          "measurement": "earthquakes",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT  \"properties_mag\" FROM \"http\" where geometry_coordinates_1 > -57 AND geometry_coordinates_1 < 10 AND  geometry_coordinates_0 > -89  AND geometry_coordinates_0 < -30",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "time_series",
          "scenarioId": "random_walk",
          "select": [
            [
              {
                "params": [
                  "properties_mag"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "geometry_coordinates_1",
              "operator": ">",
              "value": "-57"
            },
            {
              "condition": "AND",
              "key": "geometry_coordinates_1 ",
              "operator": "<",
              "value": "10"
            },
            {
              "condition": "AND",
              "key": "geometry_coordinates_0",
              "operator": ">",
              "value": "-89"
            },
            {
              "condition": "AND",
              "key": "geometry_coordinates_0",
              "operator": "<",
              "value": "-30"
            }
          ]
        }
      ],
      "thresholds": [
        {
          "colorMode": "critical",
          "fill": true,
          "line": true,
          "op": "gt",
          "value": 2.5
        }
      ],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "SouthAmerica Lat/Lang proximity",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "decimals": null,
          "format": "none",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "decimals": 5,
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    }
  ],
  "refresh": false,
  "schemaVersion": 18,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-24h",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5m"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "",
  "title": "USGS Earthquakes",
  "uid": "BUri6TUmz",
  "version": 38
}