{
 "__inputs": [
  {
   "name": "DS_PROMETHEUS",
   "label": "Prometheus",
   "type": "datasource",
   "pluginId": "prometheus",
   "pluginName": "Prometheus"
  },
  {
   "name": "DS_TEMPO",
   "label": "Tempo",
   "type": "datasource",
   "pluginId": "tempo",
   "pluginName": "Tempo"
  },
  {
   "name": "DS_LOKI",
   "label": "Loki",
   "type": "datasource",
   "pluginId": "loki",
   "pluginName": "Loki"
  }
 ],
 "__requires": [
  {
   "type": "grafana",
   "id": "grafana",
   "name": "Grafana",
   "version": "10.0.0"
  }
 ],
 "uid": "apinx-cloud-traffic",
 "title": "Apinx — API traffic",
 "tags": [
  "apinx"
 ],
 "timezone": "browser",
 "refresh": "1m",
 "schemaVersion": 39,
 "time": {
  "from": "now-6h",
  "to": "now"
 },
 "graphTooltip": 1,
 "templating": {
  "list": [
   {
    "name": "product",
    "label": "Product",
    "type": "custom",
    "query": ".*",
    "current": {
     "text": ".*",
     "value": ".*"
    },
    "options": [
     {
      "text": ".*",
      "value": ".*",
      "selected": true
     }
    ],
    "hide": 0,
    "includeAll": false,
    "multi": false,
    "description": "Regular expression on the API name: .* for every API, or the APIs of one product (for example orders.*)."
   },
   {
    "name": "environment",
    "label": "Environment",
    "type": "query",
    "datasource": {
     "type": "prometheus",
     "uid": "${DS_PROMETHEUS}"
    },
    "query": {
     "query": "label_values(apinx_requests_total{api=~\"$product\"}, environment)",
     "refId": "v"
    },
    "definition": "label_values(apinx_requests_total{api=~\"$product\"}, environment)",
    "refresh": 2,
    "includeAll": true,
    "multi": true,
    "allValue": ".*",
    "current": {
     "text": [
      "All"
     ],
     "value": [
      "$__all"
     ]
    },
    "sort": 1
   },
   {
    "name": "api",
    "label": "API",
    "type": "query",
    "datasource": {
     "type": "prometheus",
     "uid": "${DS_PROMETHEUS}"
    },
    "query": {
     "query": "label_values(apinx_requests_total{api=~\"$product\"}, api)",
     "refId": "v"
    },
    "definition": "label_values(apinx_requests_total{api=~\"$product\"}, api)",
    "refresh": 2,
    "includeAll": true,
    "multi": true,
    "allValue": ".*",
    "current": {
     "text": [
      "All"
     ],
     "value": [
      "$__all"
     ]
    },
    "sort": 1
   },
   {
    "name": "route",
    "label": "Route",
    "type": "query",
    "datasource": {
     "type": "prometheus",
     "uid": "${DS_PROMETHEUS}"
    },
    "query": {
     "query": "label_values(apinx_requests_total{api=~\"$product\"}, route)",
     "refId": "v"
    },
    "definition": "label_values(apinx_requests_total{api=~\"$product\"}, route)",
    "refresh": 2,
    "includeAll": true,
    "multi": true,
    "allValue": ".*",
    "current": {
     "text": [
      "All"
     ],
     "value": [
      "$__all"
     ]
    },
    "sort": 1
   },
   {
    "name": "application",
    "label": "Application",
    "type": "query",
    "datasource": {
     "type": "prometheus",
     "uid": "${DS_PROMETHEUS}"
    },
    "query": {
     "query": "label_values(apinx_requests_total{api=~\"$product\"}, application)",
     "refId": "v"
    },
    "definition": "label_values(apinx_requests_total{api=~\"$product\"}, application)",
    "refresh": 2,
    "includeAll": true,
    "multi": true,
    "allValue": ".*",
    "current": {
     "text": [
      "All"
     ],
     "value": [
      "$__all"
     ]
    },
    "sort": 1
   }
  ]
 },
 "panels": [
  {
   "id": 1,
   "type": "row",
   "title": "Overview",
   "collapsed": false,
   "gridPos": {
    "x": 0,
    "y": 0,
    "w": 24,
    "h": 1
   },
   "panels": []
  },
  {
   "id": 2,
   "type": "stat",
   "title": "Requests per second",
   "description": "All requests through Apinx, per second, averaged over 5 minutes.",
   "datasource": {
    "type": "prometheus",
    "uid": "${DS_PROMETHEUS}"
   },
   "gridPos": {
    "x": 0,
    "y": 1,
    "w": 6,
    "h": 4
   },
   "targets": [
    {
     "refId": "A",
     "datasource": {
      "type": "prometheus",
      "uid": "${DS_PROMETHEUS}"
     },
     "expr": "sum(rate(apinx_requests_total{environment=~\"$environment\", api=~\"$product\", api=~\"$api\", route=~\"$route\", application=~\"$application\"}[5m]))",
     "range": true
    }
   ],
   "options": {
    "reduceOptions": {
     "calcs": [
      "lastNotNull"
     ],
     "fields": "",
     "values": false
    },
    "colorMode": "background",
    "graphMode": "area",
    "textMode": "value"
   },
   "fieldConfig": {
    "defaults": {
     "unit": "reqps",
     "decimals": 2,
     "color": {
      "mode": "thresholds"
     },
     "thresholds": {
      "mode": "absolute",
      "steps": [
       {
        "color": "blue",
        "value": null
       }
      ]
     }
    },
    "overrides": []
   }
  },
  {
   "id": 3,
   "type": "stat",
   "title": "Error rate",
   "description": "Share of requests answered 4xx or 5xx.",
   "datasource": {
    "type": "prometheus",
    "uid": "${DS_PROMETHEUS}"
   },
   "gridPos": {
    "x": 6,
    "y": 1,
    "w": 6,
    "h": 4
   },
   "targets": [
    {
     "refId": "A",
     "datasource": {
      "type": "prometheus",
      "uid": "${DS_PROMETHEUS}"
     },
     "expr": "sum(rate(apinx_errors_total{environment=~\"$environment\", api=~\"$product\", api=~\"$api\", route=~\"$route\", application=~\"$application\"}[5m])) / clamp_min(sum(rate(apinx_requests_total{environment=~\"$environment\", api=~\"$product\", api=~\"$api\", route=~\"$route\", application=~\"$application\"}[5m])), 1e-9)",
     "range": true
    }
   ],
   "options": {
    "reduceOptions": {
     "calcs": [
      "lastNotNull"
     ],
     "fields": "",
     "values": false
    },
    "colorMode": "background",
    "graphMode": "area",
    "textMode": "value"
   },
   "fieldConfig": {
    "defaults": {
     "unit": "percentunit",
     "decimals": 2,
     "color": {
      "mode": "thresholds"
     },
     "thresholds": {
      "mode": "absolute",
      "steps": [
       {
        "color": "green",
        "value": null
       },
       {
        "color": "orange",
        "value": 0.02
       },
       {
        "color": "red",
        "value": 0.05
       }
      ]
     }
    },
    "overrides": []
   }
  },
  {
   "id": 4,
   "type": "stat",
   "title": "Latency p95",
   "description": "95% of requests were answered faster than this.",
   "datasource": {
    "type": "prometheus",
    "uid": "${DS_PROMETHEUS}"
   },
   "gridPos": {
    "x": 12,
    "y": 1,
    "w": 6,
    "h": 4
   },
   "targets": [
    {
     "refId": "A",
     "datasource": {
      "type": "prometheus",
      "uid": "${DS_PROMETHEUS}"
     },
     "expr": "histogram_quantile(0.95, sum by (le) (rate(apinx_request_duration_seconds_bucket{environment=~\"$environment\", api=~\"$product\", api=~\"$api\", route=~\"$route\", application=~\"$application\"}[5m])))",
     "range": true
    }
   ],
   "options": {
    "reduceOptions": {
     "calcs": [
      "lastNotNull"
     ],
     "fields": "",
     "values": false
    },
    "colorMode": "background",
    "graphMode": "area",
    "textMode": "value"
   },
   "fieldConfig": {
    "defaults": {
     "unit": "s",
     "decimals": 2,
     "color": {
      "mode": "thresholds"
     },
     "thresholds": {
      "mode": "absolute",
      "steps": [
       {
        "color": "green",
        "value": null
       },
       {
        "color": "orange",
        "value": 0.5
       },
       {
        "color": "red",
        "value": 1
       }
      ]
     }
    },
    "overrides": []
   }
  },
  {
   "id": 5,
   "type": "stat",
   "title": "Requests in the last 24 hours",
   "description": "Total requests in the last 24 hours.",
   "datasource": {
    "type": "prometheus",
    "uid": "${DS_PROMETHEUS}"
   },
   "gridPos": {
    "x": 18,
    "y": 1,
    "w": 6,
    "h": 4
   },
   "targets": [
    {
     "refId": "A",
     "datasource": {
      "type": "prometheus",
      "uid": "${DS_PROMETHEUS}"
     },
     "expr": "sum(increase(apinx_requests_total{environment=~\"$environment\", api=~\"$product\", api=~\"$api\", route=~\"$route\", application=~\"$application\"}[24h]))",
     "range": true
    }
   ],
   "options": {
    "reduceOptions": {
     "calcs": [
      "lastNotNull"
     ],
     "fields": "",
     "values": false
    },
    "colorMode": "background",
    "graphMode": "area",
    "textMode": "value"
   },
   "fieldConfig": {
    "defaults": {
     "unit": "short",
     "decimals": 2,
     "color": {
      "mode": "thresholds"
     },
     "thresholds": {
      "mode": "absolute",
      "steps": [
       {
        "color": "purple",
        "value": null
       }
      ]
     }
    },
    "overrides": []
   }
  },
  {
   "id": 6,
   "type": "row",
   "title": "Traffic and errors",
   "collapsed": false,
   "gridPos": {
    "x": 0,
    "y": 5,
    "w": 24,
    "h": 1
   },
   "panels": []
  },
  {
   "id": 7,
   "type": "timeseries",
   "title": "Requests per second by status class",
   "datasource": {
    "type": "prometheus",
    "uid": "${DS_PROMETHEUS}"
   },
   "gridPos": {
    "x": 0,
    "y": 6,
    "w": 12,
    "h": 8
   },
   "targets": [
    {
     "refId": "A",
     "datasource": {
      "type": "prometheus",
      "uid": "${DS_PROMETHEUS}"
     },
     "range": true,
     "expr": "sum by (status_class) (rate(apinx_requests_total{environment=~\"$environment\", api=~\"$product\", api=~\"$api\", route=~\"$route\", application=~\"$application\"}[5m]))",
     "legendFormat": "{{status_class}}"
    }
   ],
   "options": {
    "legend": {
     "displayMode": "table",
     "placement": "bottom",
     "calcs": [
      "mean",
      "max",
      "lastNotNull"
     ]
    },
    "tooltip": {
     "mode": "multi",
     "sort": "desc"
    }
   },
   "fieldConfig": {
    "defaults": {
     "unit": "reqps",
     "custom": {
      "lineWidth": 2,
      "fillOpacity": 15,
      "showPoints": "never",
      "spanNulls": true,
      "stacking": {
       "mode": "normal"
      }
     }
    },
    "overrides": [
     {
      "matcher": {
       "id": "byName",
       "options": "2xx"
      },
      "properties": [
       {
        "id": "color",
        "value": {
         "mode": "fixed",
         "fixedColor": "green"
        }
       }
      ]
     },
     {
      "matcher": {
       "id": "byName",
       "options": "3xx"
      },
      "properties": [
       {
        "id": "color",
        "value": {
         "mode": "fixed",
         "fixedColor": "blue"
        }
       }
      ]
     },
     {
      "matcher": {
       "id": "byName",
       "options": "4xx"
      },
      "properties": [
       {
        "id": "color",
        "value": {
         "mode": "fixed",
         "fixedColor": "orange"
        }
       }
      ]
     },
     {
      "matcher": {
       "id": "byName",
       "options": "5xx"
      },
      "properties": [
       {
        "id": "color",
        "value": {
         "mode": "fixed",
         "fixedColor": "red"
        }
       }
      ]
     }
    ]
   }
  },
  {
   "id": 8,
   "type": "timeseries",
   "title": "Error rate by route",
   "datasource": {
    "type": "prometheus",
    "uid": "${DS_PROMETHEUS}"
   },
   "gridPos": {
    "x": 12,
    "y": 6,
    "w": 12,
    "h": 8
   },
   "targets": [
    {
     "refId": "A",
     "datasource": {
      "type": "prometheus",
      "uid": "${DS_PROMETHEUS}"
     },
     "range": true,
     "expr": "sum by (route) (rate(apinx_errors_total{environment=~\"$environment\", api=~\"$product\", api=~\"$api\", route=~\"$route\", application=~\"$application\"}[5m])) / clamp_min(sum by (route) (rate(apinx_requests_total{environment=~\"$environment\", api=~\"$product\", api=~\"$api\", route=~\"$route\", application=~\"$application\"}[5m])), 1e-9)",
     "legendFormat": "{{route}}"
    }
   ],
   "options": {
    "legend": {
     "displayMode": "table",
     "placement": "bottom",
     "calcs": [
      "mean",
      "max",
      "lastNotNull"
     ]
    },
    "tooltip": {
     "mode": "multi",
     "sort": "desc"
    }
   },
   "fieldConfig": {
    "defaults": {
     "unit": "percentunit",
     "custom": {
      "lineWidth": 2,
      "fillOpacity": 15,
      "showPoints": "never",
      "spanNulls": true
     }
    },
    "overrides": []
   }
  },
  {
   "id": 9,
   "type": "row",
   "title": "Latency",
   "collapsed": false,
   "gridPos": {
    "x": 0,
    "y": 14,
    "w": 24,
    "h": 1
   },
   "panels": []
  },
  {
   "id": 10,
   "type": "timeseries",
   "title": "Latency p50 / p95 / p99",
   "datasource": {
    "type": "prometheus",
    "uid": "${DS_PROMETHEUS}"
   },
   "gridPos": {
    "x": 0,
    "y": 15,
    "w": 12,
    "h": 8
   },
   "targets": [
    {
     "refId": "A",
     "datasource": {
      "type": "prometheus",
      "uid": "${DS_PROMETHEUS}"
     },
     "range": true,
     "expr": "histogram_quantile(0.5, sum by (le) (rate(apinx_request_duration_seconds_bucket{environment=~\"$environment\", api=~\"$product\", api=~\"$api\", route=~\"$route\", application=~\"$application\"}[5m])))",
     "legendFormat": "p50"
    },
    {
     "refId": "B",
     "datasource": {
      "type": "prometheus",
      "uid": "${DS_PROMETHEUS}"
     },
     "range": true,
     "expr": "histogram_quantile(0.95, sum by (le) (rate(apinx_request_duration_seconds_bucket{environment=~\"$environment\", api=~\"$product\", api=~\"$api\", route=~\"$route\", application=~\"$application\"}[5m])))",
     "legendFormat": "p95"
    },
    {
     "refId": "C",
     "datasource": {
      "type": "prometheus",
      "uid": "${DS_PROMETHEUS}"
     },
     "range": true,
     "expr": "histogram_quantile(0.99, sum by (le) (rate(apinx_request_duration_seconds_bucket{environment=~\"$environment\", api=~\"$product\", api=~\"$api\", route=~\"$route\", application=~\"$application\"}[5m])))",
     "legendFormat": "p99"
    }
   ],
   "options": {
    "legend": {
     "displayMode": "table",
     "placement": "bottom",
     "calcs": [
      "mean",
      "max",
      "lastNotNull"
     ]
    },
    "tooltip": {
     "mode": "multi",
     "sort": "desc"
    }
   },
   "fieldConfig": {
    "defaults": {
     "unit": "s",
     "custom": {
      "lineWidth": 2,
      "fillOpacity": 15,
      "showPoints": "never",
      "spanNulls": true
     }
    },
    "overrides": []
   }
  },
  {
   "id": 11,
   "type": "timeseries",
   "title": "Latency p95 by route",
   "datasource": {
    "type": "prometheus",
    "uid": "${DS_PROMETHEUS}"
   },
   "gridPos": {
    "x": 12,
    "y": 15,
    "w": 12,
    "h": 8
   },
   "targets": [
    {
     "refId": "A",
     "datasource": {
      "type": "prometheus",
      "uid": "${DS_PROMETHEUS}"
     },
     "range": true,
     "expr": "histogram_quantile(0.95, sum by (le, route) (rate(apinx_request_duration_seconds_bucket{environment=~\"$environment\", api=~\"$product\", api=~\"$api\", route=~\"$route\", application=~\"$application\"}[5m])))",
     "legendFormat": "{{route}}"
    }
   ],
   "options": {
    "legend": {
     "displayMode": "table",
     "placement": "bottom",
     "calcs": [
      "mean",
      "max",
      "lastNotNull"
     ]
    },
    "tooltip": {
     "mode": "multi",
     "sort": "desc"
    }
   },
   "fieldConfig": {
    "defaults": {
     "unit": "s",
     "custom": {
      "lineWidth": 2,
      "fillOpacity": 15,
      "showPoints": "never",
      "spanNulls": true
     }
    },
    "overrides": []
   }
  },
  {
   "id": 12,
   "type": "row",
   "title": "Routes and applications",
   "collapsed": false,
   "gridPos": {
    "x": 0,
    "y": 23,
    "w": 24,
    "h": 1
   },
   "panels": []
  },
  {
   "id": 13,
   "type": "table",
   "title": "Routes (last 1 hour)",
   "datasource": {
    "type": "prometheus",
    "uid": "${DS_PROMETHEUS}"
   },
   "gridPos": {
    "x": 0,
    "y": 24,
    "w": 16,
    "h": 10
   },
   "targets": [
    {
     "refId": "A",
     "datasource": {
      "type": "prometheus",
      "uid": "${DS_PROMETHEUS}"
     },
     "instant": true,
     "range": false,
     "format": "table",
     "expr": "sum by (api, route) (increase(apinx_requests_total{environment=~\"$environment\", api=~\"$product\", api=~\"$api\", route=~\"$route\", application=~\"$application\"}[1h]))"
    },
    {
     "refId": "B",
     "datasource": {
      "type": "prometheus",
      "uid": "${DS_PROMETHEUS}"
     },
     "instant": true,
     "range": false,
     "format": "table",
     "expr": "sum by (api, route) (increase(apinx_errors_total{environment=~\"$environment\", api=~\"$product\", api=~\"$api\", route=~\"$route\", application=~\"$application\"}[1h])) / clamp_min(sum by (api, route) (increase(apinx_requests_total{environment=~\"$environment\", api=~\"$product\", api=~\"$api\", route=~\"$route\", application=~\"$application\"}[1h])), 1e-9)"
    },
    {
     "refId": "C",
     "datasource": {
      "type": "prometheus",
      "uid": "${DS_PROMETHEUS}"
     },
     "instant": true,
     "range": false,
     "format": "table",
     "expr": "histogram_quantile(0.95, sum by (le, api, route) (rate(apinx_request_duration_seconds_bucket{environment=~\"$environment\", api=~\"$product\", api=~\"$api\", route=~\"$route\", application=~\"$application\"}[1h])))"
    }
   ],
   "transformations": [
    {
     "id": "merge",
     "options": {}
    },
    {
     "id": "organize",
     "options": {
      "excludeByName": {
       "Time": true
      },
      "renameByName": {
       "Value #A": "Requests",
       "Value #B": "Error rate",
       "Value #C": "p95 latency",
       "api": "API",
       "route": "Route"
      }
     }
    },
    {
     "id": "sortBy",
     "options": {
      "sort": [
       {
        "field": "Requests",
        "desc": true
       }
      ]
     }
    }
   ],
   "fieldConfig": {
    "defaults": {
     "custom": {
      "align": "auto"
     }
    },
    "overrides": [
     {
      "matcher": {
       "id": "byName",
       "options": "Requests"
      },
      "properties": [
       {
        "id": "unit",
        "value": "short"
       },
       {
        "id": "decimals",
        "value": 0
       },
       {
        "id": "custom.cellOptions",
        "value": {
         "type": "gauge",
         "mode": "basic"
        }
       }
      ]
     },
     {
      "matcher": {
       "id": "byName",
       "options": "Error rate"
      },
      "properties": [
       {
        "id": "unit",
        "value": "percentunit"
       },
       {
        "id": "custom.cellOptions",
        "value": {
         "type": "color-background"
        }
       },
       {
        "id": "thresholds",
        "value": {
         "mode": "absolute",
         "steps": [
          {
           "color": "green",
           "value": null
          },
          {
           "color": "orange",
           "value": 0.02
          },
          {
           "color": "red",
           "value": 0.05
          }
         ]
        }
       }
      ]
     },
     {
      "matcher": {
       "id": "byName",
       "options": "p95 latency"
      },
      "properties": [
       {
        "id": "unit",
        "value": "s"
       },
       {
        "id": "custom.cellOptions",
        "value": {
         "type": "color-text"
        }
       },
       {
        "id": "thresholds",
        "value": {
         "mode": "absolute",
         "steps": [
          {
           "color": "green",
           "value": null
          },
          {
           "color": "orange",
           "value": 0.5
          },
          {
           "color": "red",
           "value": 1
          }
         ]
        }
       }
      ]
     }
    ]
   },
   "options": {
    "showHeader": true,
    "cellHeight": "sm"
   }
  },
  {
   "id": 14,
   "type": "piechart",
   "title": "Requests by application (last 1 hour)",
   "datasource": {
    "type": "prometheus",
    "uid": "${DS_PROMETHEUS}"
   },
   "gridPos": {
    "x": 16,
    "y": 24,
    "w": 8,
    "h": 10
   },
   "targets": [
    {
     "refId": "A",
     "datasource": {
      "type": "prometheus",
      "uid": "${DS_PROMETHEUS}"
     },
     "instant": true,
     "range": false,
     "expr": "sum by (application) (increase(apinx_requests_total{environment=~\"$environment\", api=~\"$product\", api=~\"$api\", route=~\"$route\", application=~\"$application\"}[1h]))",
     "legendFormat": "{{application}}"
    }
   ],
   "options": {
    "pieType": "donut",
    "legend": {
     "displayMode": "table",
     "placement": "right",
     "values": [
      "value",
      "percent"
     ]
    },
    "reduceOptions": {
     "calcs": [
      "lastNotNull"
     ],
     "fields": "",
     "values": false
    }
   },
   "fieldConfig": {
    "defaults": {
     "unit": "short",
     "decimals": 0
    },
    "overrides": []
   }
  },
  {
   "id": 15,
   "type": "row",
   "title": "Traces (Tempo)",
   "collapsed": false,
   "gridPos": {
    "x": 0,
    "y": 34,
    "w": 24,
    "h": 1
   },
   "panels": []
  },
  {
   "id": 16,
   "type": "table",
   "title": "Slowest requests (over 1 second)",
   "datasource": {
    "type": "tempo",
    "uid": "${DS_TEMPO}"
   },
   "gridPos": {
    "x": 0,
    "y": 35,
    "w": 12,
    "h": 10
   },
   "targets": [
    {
     "refId": "A",
     "datasource": {
      "type": "tempo",
      "uid": "${DS_TEMPO}"
     },
     "queryType": "traceql",
     "query": "{resource.service.name=\"apinx\" && span.apinx.api =~ \"$product\" && duration > 1s}",
     "limit": 20,
     "tableType": "traces"
    }
   ],
   "options": {
    "showHeader": true
   }
  },
  {
   "id": 17,
   "type": "table",
   "title": "Failed requests (4xx and 5xx)",
   "datasource": {
    "type": "tempo",
    "uid": "${DS_TEMPO}"
   },
   "gridPos": {
    "x": 12,
    "y": 35,
    "w": 12,
    "h": 10
   },
   "targets": [
    {
     "refId": "A",
     "datasource": {
      "type": "tempo",
      "uid": "${DS_TEMPO}"
     },
     "queryType": "traceql",
     "query": "{resource.service.name=\"apinx\" && span.apinx.api =~ \"$product\" && span.http.response.status_code >= 400}",
     "limit": 20,
     "tableType": "traces"
    }
   ],
   "options": {
    "showHeader": true
   }
  },
  {
   "id": 18,
   "type": "row",
   "title": "Request logs (Loki)",
   "collapsed": false,
   "gridPos": {
    "x": 0,
    "y": 45,
    "w": 24,
    "h": 1
   },
   "panels": []
  },
  {
   "id": 19,
   "type": "logs",
   "title": "Request log lines (newest first; open a line for its trace)",
   "datasource": {
    "type": "loki",
    "uid": "${DS_LOKI}"
   },
   "gridPos": {
    "x": 0,
    "y": 46,
    "w": 24,
    "h": 12
   },
   "targets": [
    {
     "refId": "A",
     "datasource": {
      "type": "loki",
      "uid": "${DS_LOKI}"
     },
     "queryType": "range",
     "expr": "{service_name=\"apinx\"} | apinx_api=~\"$product\" | apinx_api=~\"$api\" | apinx_route=~\"$route\""
    }
   ],
   "options": {
    "showTime": true,
    "wrapLogMessage": true,
    "sortOrder": "Descending",
    "enableLogDetails": true,
    "dedupStrategy": "none"
   }
  }
 ]
}
