Grafana dashboard: Squid Graylog
Description: test


{
  "__inputs": [
    {
      "name": "DS_SQUID-GRAYLOG",
      "label": "Squid-Graylog",
      "description": "",
      "type": "datasource",
      "pluginId": "elasticsearch",
      "pluginName": "Elasticsearch"
    }
  ],
  "__requires": [
    {
      "type": "panel",
      "id": "briangann-datatable-panel",
      "name": "Datatable Panel",
      "version": "0.0.6"
    },
    {
      "type": "datasource",
      "id": "elasticsearch",
      "name": "Elasticsearch",
      "version": "5.0.0"
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "5.0.3"
    },
    {
      "type": "panel",
      "id": "grafana-piechart-panel",
      "name": "Pie Chart",
      "version": "1.2.0"
    },
    {
      "type": "panel",
      "id": "grafana-worldmap-panel",
      "name": "Worldmap Panel",
      "version": "0.0.21"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": "5.0.0"
    },
    {
      "type": "panel",
      "id": "singlestat",
      "name": "Singlestat",
      "version": "5.0.0"
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": "5.0.0"
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 6440,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1522252133053,
  "links": [],
  "panels": [
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 15,
      "panels": [],
      "repeat": null,
      "title": "General Analisys",
      "type": "row"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "#299c46",
        "rgba(237, 129, 40, 0.89)",
        "#d44a3a"
      ],
      "datasource": "${DS_SQUID-GRAYLOG}",
      "decimals": 2,
      "format": "decbytes",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 6,
        "x": 0,
        "y": 1
      },
      "id": 3,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "Trafic",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": false
      },
      "tableColumn": "timestamp_graf",
      "targets": [
        {
          "bucketAggs": [
            {
              "field": "real_timestamp",
              "id": "2",
              "settings": {
                "interval": "auto",
                "min_doc_count": 0,
                "trimEdges": 0
              },
              "type": "date_histogram"
            }
          ],
          "dsType": "elasticsearch",
          "metrics": [
            {
              "field": "Bytes",
              "id": "1",
              "meta": {},
              "settings": {},
              "type": "sum"
            }
          ],
          "query": "User:$user AND URI_Host:$URIHost  AND (Method:CONNECT OR Method:GET OR Method:POST) AND NOT Result_Code:\"TCP_DENIED\"",
          "refId": "A",
          "target": "",
          "timeField": "real_timestamp"
        }
      ],
      "thresholds": "",
      "title": "Total Trafic",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "total"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "#299c46",
        "rgba(237, 129, 40, 0.89)",
        "#d44a3a"
      ],
      "datasource": "${DS_SQUID-GRAYLOG}",
      "format": "none",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 8,
        "x": 6,
        "y": 1
      },
      "id": 4,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "Top User",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": false
      },
      "tableColumn": "",
      "targets": [
        {
          "bucketAggs": [
            {
              "fake": true,
              "field": "User",
              "id": "3",
              "settings": {
                "min_doc_count": 1,
                "order": "desc",
                "orderBy": "_count",
                "size": "1"
              },
              "type": "terms"
            },
            {
              "field": "real_timestamp",
              "id": "2",
              "settings": {
                "interval": "auto",
                "min_doc_count": 0,
                "trimEdges": 0
              },
              "type": "date_histogram"
            }
          ],
          "dsType": "elasticsearch",
          "metrics": [
            {
              "field": "select field",
              "id": "1",
              "type": "count"
            }
          ],
          "query": "User:$user AND NOT Result_Code:\"TCP_DENIED\" AND URI_Host:$URIHost",
          "refId": "A",
          "target": "",
          "timeField": "real_timestamp"
        }
      ],
      "thresholds": "",
      "title": "Top User",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "name"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "#299c46",
        "rgba(237, 129, 40, 0.89)",
        "#d44a3a"
      ],
      "datasource": "${DS_SQUID-GRAYLOG}",
      "format": "none",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 10,
        "x": 14,
        "y": 1
      },
      "id": 5,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "Top Site",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": false
      },
      "tableColumn": "",
      "targets": [
        {
          "bucketAggs": [
            {
              "fake": true,
              "field": "URI_Host",
              "id": "3",
              "settings": {
                "min_doc_count": 1,
                "order": "desc",
                "orderBy": "_count",
                "size": "1"
              },
              "type": "terms"
            },
            {
              "field": "real_timestamp",
              "id": "2",
              "settings": {
                "interval": "auto",
                "min_doc_count": 0,
                "trimEdges": 0
              },
              "type": "date_histogram"
            }
          ],
          "dsType": "elasticsearch",
          "metrics": [
            {
              "field": "select field",
              "id": "1",
              "type": "count"
            }
          ],
          "query": "User:$user AND NOT Result_Code:\"TCP_DENIED\" AND NOT URI_HOST:\"ocsp.int-x3.letsencrypt.org\" AND URI_Host:$URIHost",
          "refId": "A",
          "target": "",
          "timeField": "real_timestamp"
        }
      ],
      "thresholds": "",
      "title": "Top Site",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "name"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 5
      },
      "id": 16,
      "panels": [],
      "repeat": null,
      "title": "Events",
      "type": "row"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_SQUID-GRAYLOG}",
      "fill": 1,
      "gridPos": {
        "h": 8,
        "w": 24,
        "x": 0,
        "y": 6
      },
      "id": 6,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "percentage": true,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "bucketAggs": [
            {
              "field": "real_timestamp",
              "id": "2",
              "settings": {
                "interval": "auto",
                "min_doc_count": 0,
                "trimEdges": 0
              },
              "type": "date_histogram"
            }
          ],
          "dsType": "elasticsearch",
          "metrics": [
            {
              "field": "select field",
              "id": "1",
              "type": "count"
            }
          ],
          "query": "User:$user AND URI_Host:$URIHost AND (Method:CONNECT OR Method:GET OR Method:POST) AND NOT Result_Code:\"TCP_DENIED\"",
          "refId": "A",
          "target": "",
          "timeField": "real_timestamp"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Events",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "none",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ]
    },
    {
      "circleMaxSize": 30,
      "circleMinSize": 2,
      "colors": [
        "rgba(245, 54, 54, 0.9)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(50, 172, 45, 0.97)"
      ],
      "datasource": "${DS_SQUID-GRAYLOG}",
      "decimals": 0,
      "esGeoPoint": "geo_location",
      "esLocationName": "URI_Host",
      "esMetric": "Count",
      "gridPos": {
        "h": 14,
        "w": 12,
        "x": 0,
        "y": 14
      },
      "hideEmpty": false,
      "hideZero": false,
      "id": 2,
      "initialZoom": 1,
      "links": [],
      "locationData": "geohash",
      "mapCenter": "(0°, 0°)",
      "mapCenterLatitude": 0,
      "mapCenterLongitude": 0,
      "maxDataPoints": 1,
      "showLegend": true,
      "stickyLabels": false,
      "targets": [
        {
          "bucketAggs": [
            {
              "fake": true,
              "field": "URI_Host",
              "id": "3",
              "settings": {
                "min_doc_count": 1,
                "order": "desc",
                "orderBy": "_count",
                "size": "0"
              },
              "type": "terms"
            },
            {
              "field": "geo_location",
              "id": "2",
              "settings": {
                "precision": 7
              },
              "type": "geohash_grid"
            }
          ],
          "dsType": "elasticsearch",
          "metrics": [
            {
              "field": "select field",
              "id": "1",
              "type": "count"
            }
          ],
          "query": "User:$user AND URI_Host:$URIHost  AND (Method:CONNECT OR Method:GET OR Method:POST) AND NOT Result_Code:\"TCP_DENIED\"",
          "refId": "A",
          "target": "",
          "timeField": "real_timestamp"
        }
      ],
      "thresholds": "0,10",
      "title": "Geo Destination",
      "type": "grafana-worldmap-panel",
      "unitPlural": "",
      "unitSingle": "",
      "valueName": "total"
    },
    {
      "aliasColors": {},
      "cacheTimeout": null,
      "combine": {
        "label": "Others",
        "threshold": 0
      },
      "datasource": "${DS_SQUID-GRAYLOG}",
      "fontSize": "80%",
      "format": "none",
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 12,
        "y": 14
      },
      "id": 11,
      "interval": null,
      "legend": {
        "show": true,
        "sortDesc": true,
        "values": true
      },
      "legendType": "Right side",
      "links": [],
      "maxDataPoints": 3,
      "nullPointMode": "connected",
      "pieType": "pie",
      "strokeWidth": 1,
      "targets": [
        {
          "bucketAggs": [
            {
              "fake": true,
              "field": "Result_Code",
              "id": "3",
              "settings": {
                "min_doc_count": 1,
                "order": "desc",
                "orderBy": "_count",
                "size": "10"
              },
              "type": "terms"
            },
            {
              "field": "real_timestamp",
              "id": "2",
              "settings": {
                "interval": "auto",
                "min_doc_count": 0,
                "trimEdges": 0
              },
              "type": "date_histogram"
            }
          ],
          "dsType": "elasticsearch",
          "metrics": [
            {
              "field": "select field",
              "id": "1",
              "type": "count"
            }
          ],
          "query": "User:$user AND URI_Host:$URIHost",
          "refId": "A",
          "target": "",
          "timeField": "real_timestamp"
        }
      ],
      "title": "Squid Codes",
      "type": "grafana-piechart-panel",
      "valueName": "total"
    },
    {
      "aliasColors": {},
      "cacheTimeout": null,
      "combine": {
        "label": "Others",
        "threshold": 0
      },
      "datasource": "${DS_SQUID-GRAYLOG}",
      "fontSize": "80%",
      "format": "short",
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 18,
        "y": 14
      },
      "id": 12,
      "interval": null,
      "legend": {
        "show": true,
        "sortDesc": true,
        "values": true
      },
      "legendType": "Right side",
      "links": [],
      "maxDataPoints": 3,
      "nullPointMode": "connected",
      "pieType": "pie",
      "strokeWidth": 1,
      "targets": [
        {
          "alias": "Code {{term Status_Code}} {{term User}}",
          "bucketAggs": [
            {
              "fake": true,
              "field": "Status_Code",
              "id": "3",
              "settings": {
                "min_doc_count": 1,
                "order": "desc",
                "orderBy": "_count",
                "size": "0"
              },
              "type": "terms"
            },
            {
              "fake": true,
              "field": "User",
              "id": "4",
              "settings": {
                "min_doc_count": 1,
                "order": "desc",
                "orderBy": "_count",
                "size": "0"
              },
              "type": "terms"
            },
            {
              "field": "real_timestamp",
              "id": "2",
              "settings": {
                "interval": "auto",
                "min_doc_count": 0,
                "trimEdges": 0
              },
              "type": "date_histogram"
            }
          ],
          "dsType": "elasticsearch",
          "metrics": [
            {
              "field": "select field",
              "id": "1",
              "type": "count"
            }
          ],
          "query": "User:$user  AND Status_Code:\"407\" AND URI_Host:$URIHost",
          "refId": "A",
          "target": "",
          "timeField": "real_timestamp"
        }
      ],
      "title": "Proxy Authentication Required",
      "type": "grafana-piechart-panel",
      "valueName": "total"
    },
    {
      "aliasColors": {},
      "cacheTimeout": null,
      "combine": {
        "label": "Others",
        "threshold": 0
      },
      "datasource": "${DS_SQUID-GRAYLOG}",
      "fontSize": "80%",
      "format": "none",
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 21
      },
      "id": 13,
      "interval": null,
      "legend": {
        "show": true,
        "sortDesc": true,
        "values": true
      },
      "legendType": "Right side",
      "links": [],
      "maxDataPoints": 3,
      "nullPointMode": "connected",
      "pieType": "pie",
      "strokeWidth": 1,
      "targets": [
        {
          "alias": "Code {{term Status_Code}} {{term User}}",
          "bucketAggs": [
            {
              "fake": true,
              "field": "Status_Code",
              "id": "3",
              "settings": {
                "min_doc_count": 1,
                "order": "desc",
                "orderBy": "_count",
                "size": "0"
              },
              "type": "terms"
            },
            {
              "fake": true,
              "field": "User",
              "id": "4",
              "settings": {
                "min_doc_count": 1,
                "order": "desc",
                "orderBy": "_count",
                "size": "0"
              },
              "type": "terms"
            },
            {
              "field": "real_timestamp",
              "id": "2",
              "settings": {
                "interval": "auto",
                "min_doc_count": 0,
                "trimEdges": 0
              },
              "type": "date_histogram"
            }
          ],
          "dsType": "elasticsearch",
          "metrics": [
            {
              "field": "select field",
              "id": "1",
              "type": "count"
            }
          ],
          "query": "User:$user AND URI_Host:$URIHost  AND Status_Code:\"403\"",
          "refId": "A",
          "target": "",
          "timeField": "real_timestamp"
        }
      ],
      "title": "Forbidden Access",
      "type": "grafana-piechart-panel",
      "valueName": "total"
    },
    {
      "columns": [],
      "datasource": "${DS_SQUID-GRAYLOG}",
      "fontSize": "100%",
      "gridPos": {
        "h": 11,
        "w": 4,
        "x": 0,
        "y": 28
      },
      "id": 7,
      "links": [],
      "pageSize": 10,
      "scroll": true,
      "showHeader": true,
      "sort": {
        "col": 1,
        "desc": true
      },
      "styles": [
        {
          "alias": "Count",
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "pattern": "Count",
          "type": "number",
          "unit": "none"
        },
        {
          "alias": "",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "decimals": 2,
          "pattern": "/.*/",
          "thresholds": [],
          "type": "number",
          "unit": "short"
        }
      ],
      "targets": [
        {
          "bucketAggs": [
            {
              "fake": true,
              "field": "User",
              "id": "3",
              "settings": {
                "min_doc_count": 1,
                "order": "desc",
                "orderBy": "_count",
                "size": "0"
              },
              "type": "terms"
            }
          ],
          "dsType": "elasticsearch",
          "metrics": [
            {
              "field": "select field",
              "id": "1",
              "type": "count"
            }
          ],
          "query": "User:$user AND NOT Result_Code:\"TCP_DENIED\" AND URI_Host:$URIHost",
          "refId": "A",
          "target": "",
          "timeField": "real_timestamp"
        }
      ],
      "title": "Hits of users",
      "transform": "table",
      "type": "table"
    },
    {
      "columns": [],
      "datasource": "${DS_SQUID-GRAYLOG}",
      "fontSize": "100%",
      "gridPos": {
        "h": 11,
        "w": 3,
        "x": 4,
        "y": 28
      },
      "id": 14,
      "links": [],
      "pageSize": 10,
      "scroll": true,
      "showHeader": true,
      "sort": {
        "col": 1,
        "desc": true
      },
      "styles": [
        {
          "alias": "Traffic",
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "pattern": "Sum",
          "type": "number",
          "unit": "decbytes"
        },
        {
          "alias": "",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "decimals": 2,
          "pattern": "/.*/",
          "thresholds": [],
          "type": "number",
          "unit": "short"
        }
      ],
      "targets": [
        {
          "bucketAggs": [
            {
              "field": "User",
              "id": "2",
              "settings": {
                "min_doc_count": 1,
                "order": "desc",
                "orderBy": "1",
                "size": "0"
              },
              "type": "terms"
            }
          ],
          "dsType": "elasticsearch",
          "metrics": [
            {
              "field": "Bytes",
              "id": "1",
              "meta": {},
              "settings": {},
              "type": "sum"
            }
          ],
          "query": "User:$user AND NOT Result_Code:\"TCP_DENIED\" AND URI_Host:$URIHost  AND (Method:CONNECT OR Method:GET OR Method:POST)",
          "refId": "A",
          "target": "",
          "timeField": "real_timestamp"
        }
      ],
      "title": "Traffic by User",
      "transform": "table",
      "type": "table"
    },
    {
      "columns": [],
      "datasource": "${DS_SQUID-GRAYLOG}",
      "fontSize": "100%",
      "gridPos": {
        "h": 11,
        "w": 5,
        "x": 7,
        "y": 28
      },
      "id": 1,
      "links": [],
      "pageSize": 10,
      "scroll": true,
      "showHeader": true,
      "sort": {
        "col": 1,
        "desc": true
      },
      "styles": [
        {
          "alias": "Count",
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "pattern": "Count",
          "type": "number",
          "unit": "none"
        },
        {
          "alias": "",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "decimals": 2,
          "pattern": "/.*/",
          "thresholds": [],
          "type": "number",
          "unit": "short"
        }
      ],
      "targets": [
        {
          "bucketAggs": [
            {
              "fake": true,
              "field": "URI_Host",
              "id": "4",
              "settings": {
                "min_doc_count": 1,
                "order": "desc",
                "orderBy": "_count",
                "size": "0"
              },
              "type": "terms"
            }
          ],
          "dsType": "elasticsearch",
          "metrics": [
            {
              "field": "select field",
              "id": "1",
              "type": "count"
            }
          ],
          "query": "User:$user  AND NOT Result_Code:\"TCP_DENIED\"  AND NOT URI_HOST:\"ocsp.int-x3.letsencrypt.org\" AND URI_Host:$URIHost",
          "refId": "A",
          "target": "",
          "timeField": "real_timestamp"
        }
      ],
      "title": "Destinations",
      "transform": "table",
      "type": "table"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_SQUID-GRAYLOG}",
      "fill": 10,
      "gridPos": {
        "h": 11,
        "w": 12,
        "x": 12,
        "y": 28
      },
      "id": 8,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": false,
        "hideEmpty": false,
        "hideZero": false,
        "max": false,
        "min": false,
        "show": true,
        "sortDesc": true,
        "total": true,
        "values": true
      },
      "lines": true,
      "linewidth": 0,
      "links": [],
      "nullPointMode": "connected",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": true,
      "steppedLine": false,
      "targets": [
        {
          "alias": "Trafic",
          "bucketAggs": [
            {
              "field": "real_timestamp",
              "id": "2",
              "settings": {
                "interval": "auto",
                "min_doc_count": 0,
                "trimEdges": 0
              },
              "type": "date_histogram"
            }
          ],
          "dsType": "elasticsearch",
          "metrics": [
            {
              "field": "Bytes",
              "id": "1",
              "meta": {},
              "settings": {},
              "type": "sum"
            }
          ],
          "query": "User:$user AND URI_Host:$URIHost",
          "refId": "A",
          "target": "",
          "timeField": "real_timestamp"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Traffic",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "bytes",
          "label": "Megabyte Traffic",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ]
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 39
      },
      "id": 17,
      "panels": [],
      "repeat": null,
      "title": "Details",
      "type": "row"
    },
    {
      "columns": [],
      "compactRowsEnabled": false,
      "datasource": "${DS_SQUID-GRAYLOG}",
      "datatablePagingType": "full_numbers",
      "datatableTheme": "basic_theme",
      "emptyData": false,
      "fontSize": "100%",
      "gridPos": {
        "h": 13,
        "w": 24,
        "x": 0,
        "y": 40
      },
      "hoverEnabled": true,
      "id": 9,
      "infoEnabled": true,
      "lengthChangeEnabled": true,
      "links": [],
      "orderColumnEnabled": true,
      "pagingTypes": [
        {
          "text": "Page number buttons only",
          "value": "numbers"
        },
        {
          "text": "'Previous' and 'Next' buttons only",
          "value": "simple"
        },
        {
          "text": "'Previous' and 'Next' buttons, plus page numbers",
          "value": "simple_numbers"
        },
        {
          "text": "'First', 'Previous', 'Next' and 'Last' buttons",
          "value": "full"
        },
        {
          "text": "'First', 'Previous', 'Next' and 'Last' buttons, plus page numbers",
          "value": "full_numbers"
        },
        {
          "text": "'First' and 'Last' buttons, plus page numbers",
          "value": "first_last_numbers"
        }
      ],
      "panelHeight": 481,
      "rowNumbersEnabled": false,
      "rowsPerPage": 10,
      "scroll": false,
      "scrollHeight": "default",
      "searchEnabled": true,
      "showCellBorders": false,
      "showHeader": true,
      "showRowBorders": true,
      "sort": {
        "col": 0,
        "desc": true
      },
      "stripedRowsEnabled": true,
      "styles": [
        {
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "decimals": 2,
          "pattern": "Sum Bytes",
          "thresholds": [],
          "type": "number",
          "unit": "decbytes"
        },
        {
          "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,
          "pattern": "Sum Duration",
          "thresholds": [],
          "type": "number",
          "unit": "dtdurationms"
        },
        {
          "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": 0,
          "pattern": "Count",
          "thresholds": [],
          "type": "number",
          "unit": "none"
        }
      ],
      "targets": [
        {
          "bucketAggs": [
            {
              "fake": true,
              "field": "URI_Host",
              "id": "12",
              "settings": {
                "min_doc_count": 1,
                "order": "desc",
                "orderBy": "_count",
                "size": "0"
              },
              "type": "terms"
            }
          ],
          "dsType": "elasticsearch",
          "metrics": [
            {
              "field": "select field",
              "id": "1",
              "type": "count"
            },
            {
              "field": "Bytes",
              "id": "9",
              "meta": {},
              "settings": {},
              "type": "sum"
            },
            {
              "field": "Duration",
              "id": "11",
              "meta": {},
              "settings": {},
              "type": "sum"
            }
          ],
          "query": "User:$user AND URI_Host:$URIHost  AND (Method:CONNECT OR Method:GET OR Method:POST) AND NOT Result_Code:\"TCP_DENIED\"",
          "refId": "A",
          "target": "",
          "timeField": "real_timestamp"
        }
      ],
      "themeOptions": {
        "dark": "./css/datatable-dark.css",
        "light": "./css/datatable-light.css"
      },
      "themes": [
        {
          "disabled": false,
          "text": "Basic",
          "value": "basic_theme"
        },
        {
          "disabled": true,
          "text": "Bootstrap",
          "value": "bootstrap_theme"
        },
        {
          "disabled": true,
          "text": "Foundation",
          "value": "foundation_theme"
        },
        {
          "disabled": true,
          "text": "ThemeRoller",
          "value": "themeroller_theme"
        }
      ],
      "title": "Top Sites",
      "transform": "table",
      "type": "briangann-datatable-panel"
    },
    {
      "columns": [],
      "compactRowsEnabled": true,
      "datasource": "${DS_SQUID-GRAYLOG}",
      "datatablePagingType": "full_numbers",
      "datatableTheme": "basic_theme",
      "emptyData": false,
      "fontSize": "90%",
      "gridPos": {
        "h": 10,
        "w": 24,
        "x": 0,
        "y": 53
      },
      "hoverEnabled": true,
      "id": 18,
      "infoEnabled": true,
      "lengthChangeEnabled": true,
      "links": [],
      "orderColumnEnabled": true,
      "pagingTypes": [
        {
          "text": "Page number buttons only",
          "value": "numbers"
        },
        {
          "text": "'Previous' and 'Next' buttons only",
          "value": "simple"
        },
        {
          "text": "'Previous' and 'Next' buttons, plus page numbers",
          "value": "simple_numbers"
        },
        {
          "text": "'First', 'Previous', 'Next' and 'Last' buttons",
          "value": "full"
        },
        {
          "text": "'First', 'Previous', 'Next' and 'Last' buttons, plus page numbers",
          "value": "full_numbers"
        },
        {
          "text": "'First' and 'Last' buttons, plus page numbers",
          "value": "first_last_numbers"
        }
      ],
      "panelHeight": 361,
      "rowNumbersEnabled": false,
      "rowsPerPage": 10,
      "scroll": false,
      "scrollHeight": "default",
      "searchEnabled": true,
      "showCellBorders": true,
      "showHeader": true,
      "showRowBorders": false,
      "sort": {
        "col": 0,
        "desc": true
      },
      "stripedRowsEnabled": true,
      "styles": [
        {
          "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,
          "pattern": "real_timestamp",
          "thresholds": [],
          "type": "date",
          "unit": "decbytes"
        }
      ],
      "targets": [
        {
          "bucketAggs": [
            {
              "fake": true,
              "field": "real_timestamp",
              "id": "13",
              "settings": {
                "min_doc_count": 1,
                "order": "desc",
                "orderBy": "_count",
                "size": "0"
              },
              "type": "terms"
            },
            {
              "fake": true,
              "field": "Client_Address",
              "id": "14",
              "settings": {
                "min_doc_count": 1,
                "order": "desc",
                "orderBy": "_term",
                "size": "10"
              },
              "type": "terms"
            },
            {
              "fake": true,
              "field": "User",
              "id": "15",
              "settings": {
                "min_doc_count": 1,
                "order": "desc",
                "orderBy": "_term",
                "size": "10"
              },
              "type": "terms"
            },
            {
              "fake": true,
              "field": "URI",
              "id": "16",
              "settings": {
                "min_doc_count": 1,
                "order": "desc",
                "orderBy": "_term",
                "size": "10"
              },
              "type": "terms"
            }
          ],
          "dsType": "elasticsearch",
          "metrics": [
            {
              "field": "select field",
              "id": "1",
              "type": "count"
            }
          ],
          "query": "User:$user AND URI_Host:$URIHost  AND (Method:CONNECT OR Method:GET OR Method:POST) AND NOT Result_Code:\"TCP_DENIED\"",
          "refId": "A",
          "target": "",
          "timeField": "real_timestamp"
        }
      ],
      "themeOptions": {
        "dark": "./css/datatable-dark.css",
        "light": "./css/datatable-light.css"
      },
      "themes": [
        {
          "disabled": false,
          "text": "Basic",
          "value": "basic_theme"
        },
        {
          "disabled": true,
          "text": "Bootstrap",
          "value": "bootstrap_theme"
        },
        {
          "disabled": true,
          "text": "Foundation",
          "value": "foundation_theme"
        },
        {
          "disabled": true,
          "text": "ThemeRoller",
          "value": "themeroller_theme"
        }
      ],
      "title": "Top Sites",
      "transform": "table",
      "type": "briangann-datatable-panel"
    }
  ],
  "refresh": false,
  "schemaVersion": 16,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_SQUID-GRAYLOG}",
        "hide": 0,
        "includeAll": true,
        "label": "User",
        "multi": true,
        "name": "user",
        "options": [],
        "query": "{\"find\": \"terms\", \"field\":\"User\",\"size\": \"1000000\" }",
        "refresh": 2,
        "regex": "^(?!.*-).*$",
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_SQUID-GRAYLOG}",
        "hide": 0,
        "includeAll": true,
        "label": "Destination",
        "multi": true,
        "name": "URIHost",
        "options": [],
        "query": "{\"find\": \"terms\", \"field\":\"URI_Host\",\"size\": \"1000000\" }",
        "refresh": 2,
        "regex": "",
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now/d",
    "to": "now/d"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "browser",
  "title": "Squid Graylog",
  "uid": "000000060",
  "version": 33,
  "description": "test"
}