{
    "attributes": {
        "state": {
            "datasourceStates": {
                "indexpattern": {
                    "layers": {
                        "91e62734-6524-424c-b2b5-3974c835dd6c": {
                            "columnOrder": [
                                "6be62612-437b-448d-9631-c6cc0938225d",
                                "921ee447-0c37-4e9d-9f42-a491f412baef",
                                "5424865c-c988-4e26-b00b-b3cf90e1e4cf"
                            ],
                            "columns": {
                                "5424865c-c988-4e26-b00b-b3cf90e1e4cf": {
                                    "customLabel": true,
                                    "dataType": "number",
                                    "isBucketed": false,
                                    "label": "Snapshot Oldest Message",
                                    "operationType": "average",
                                    "scale": "ratio",
                                    "sourceField": "gcp.pubsub.snapshot.oldest_message_age.sec"
                                },
                                "6be62612-437b-448d-9631-c6cc0938225d": {
                                    "dataType": "date",
                                    "isBucketed": true,
                                    "label": "@timestamp",
                                    "operationType": "date_histogram",
                                    "params": {
                                        "interval": "auto"
                                    },
                                    "scale": "interval",
                                    "sourceField": "@timestamp"
                                },
                                "921ee447-0c37-4e9d-9f42-a491f412baef": {
                                    "dataType": "string",
                                    "isBucketed": true,
                                    "label": "Top values of gcp.labels.resource.snapshot_id",
                                    "operationType": "terms",
                                    "params": {
                                        "orderBy": {
                                            "columnId": "5424865c-c988-4e26-b00b-b3cf90e1e4cf",
                                            "type": "column"
                                        },
                                        "orderDirection": "desc",
                                        "size": 3
                                    },
                                    "scale": "ordinal",
                                    "sourceField": "gcp.labels.resource.snapshot_id"
                                }
                            }
                        }
                    }
                }
            },
            "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": "921ee447-0c37-4e9d-9f42-a491f412baef",
                        "xAccessor": "6be62612-437b-448d-9631-c6cc0938225d"
                    }
                ],
                "legend": {
                    "isVisible": true,
                    "position": "right"
                },
                "preferredSeriesType": "line"
            }
        },
        "title": "Snapshot Oldest Message [Metricbeat GCP]",
        "visualizationType": "lnsXY"
    },
    "coreMigrationVersion": "8.0.0",
    "id": "f3e92c10-019d-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": "WzM4MTIsMV0="
}