{
    "attributes": {
        "state": {
            "datasourceStates": {
                "indexpattern": {
                    "layers": {
                        "91e62734-6524-424c-b2b5-3974c835dd6c": {
                            "columnOrder": [
                                "6be62612-437b-448d-9631-c6cc0938225d",
                                "2251f8b6-6091-4386-890b-4d0d33e79a96",
                                "5424865c-c988-4e26-b00b-b3cf90e1e4cf"
                            ],
                            "columns": {
                                "2251f8b6-6091-4386-890b-4d0d33e79a96": {
                                    "dataType": "string",
                                    "isBucketed": true,
                                    "label": "Top values of gcp.labels.resource.subscription_id",
                                    "operationType": "terms",
                                    "params": {
                                        "orderBy": {
                                            "columnId": "5424865c-c988-4e26-b00b-b3cf90e1e4cf",
                                            "type": "column"
                                        },
                                        "orderDirection": "desc",
                                        "size": 3
                                    },
                                    "scale": "ordinal",
                                    "sourceField": "gcp.labels.resource.subscription_id"
                                },
                                "5424865c-c988-4e26-b00b-b3cf90e1e4cf": {
                                    "customLabel": true,
                                    "dataType": "number",
                                    "isBucketed": false,
                                    "label": "Subscription Number of Undelivered Messages",
                                    "operationType": "average",
                                    "params": {
                                        "format": {
                                            "id": "bytes",
                                            "params": {
                                                "decimals": 0
                                            }
                                        }
                                    },
                                    "scale": "ratio",
                                    "sourceField": "gcp.pubsub.subscription.num_undelivered_messages.value"
                                },
                                "6be62612-437b-448d-9631-c6cc0938225d": {
                                    "dataType": "date",
                                    "isBucketed": true,
                                    "label": "@timestamp",
                                    "operationType": "date_histogram",
                                    "params": {
                                        "interval": "1m"
                                    },
                                    "scale": "interval",
                                    "sourceField": "@timestamp"
                                }
                            }
                        }
                    }
                }
            },
            "filters": [],
            "query": {
                "language": "kuery",
                "query": ""
            },
            "visualization": {
                "fittingFunction": "None",
                "layers": [
                    {
                        "accessors": [
                            "5424865c-c988-4e26-b00b-b3cf90e1e4cf"
                        ],
                        "layerId": "91e62734-6524-424c-b2b5-3974c835dd6c",
                        "position": "top",
                        "seriesType": "line",
                        "showGridlines": false,
                        "splitAccessor": "2251f8b6-6091-4386-890b-4d0d33e79a96",
                        "xAccessor": "6be62612-437b-448d-9631-c6cc0938225d"
                    }
                ],
                "legend": {
                    "isVisible": true,
                    "position": "right"
                },
                "preferredSeriesType": "line"
            }
        },
        "title": "Subscription Number of Undelivered Messages [Metricbeat GCP]",
        "visualizationType": "lnsXY"
    },
    "coreMigrationVersion": "8.0.0",
    "id": "11d06fc0-01a0-11eb-b032-d59f894a5072",
    "migrationVersion": {
        "lens": "7.13.1"
    },
    "references": [
        {
            "id": "metricbeat-*",
            "name": "indexpattern-datasource-current-indexpattern",
            "type": "index-pattern"
        },
        {
            "id": "metricbeat-*",
            "name": "indexpattern-datasource-layer-91e62734-6524-424c-b2b5-3974c835dd6c",
            "type": "index-pattern"
        }
    ],
    "type": "lens",
    "updated_at": "2021-08-04T16:31:13.736Z",
    "version": "WzM4MTEsMV0="
}