{
    "objects": [
        {
            "attributes": {
                "description": "Overview of Google Cloud Billing Metrics",
                "hits": 0,
                "kibanaSavedObjectMeta": {
                    "searchSourceJSON": "{\"filter\": [], \"query\": {\"language\": \"kuery\", \"query\": \"\"}}"
                },
                "optionsJSON": "{\"hidePanelTitles\": false, \"useMargins\": true}",
                "panelsJSON": "[{\"embeddableConfig\": {\"title\": \"Filters\"}, \"gridData\": {\"h\": 14, \"i\": \"2552123b-6ad6-4d63-89c3-0672ab428580\", \"w\": 8, \"x\": 0, \"y\": 0}, \"panelIndex\": \"2552123b-6ad6-4d63-89c3-0672ab428580\", \"panelRefName\": \"panel_0\", \"title\": \"Filters\", \"version\": \"7.9.0\"}, {\"embeddableConfig\": {\"title\": \"Cost Per Month\"}, \"gridData\": {\"h\": 20, \"i\": \"2d3d3b79-0656-45c2-b051-4489484b625c\", \"w\": 10, \"x\": 8, \"y\": 0}, \"panelIndex\": \"2d3d3b79-0656-45c2-b051-4489484b625c\", \"panelRefName\": \"panel_1\", \"title\": \"Cost Per Month\", \"version\": \"7.9.0\"}, {\"embeddableConfig\": {\"title\": \"Cost Per Project ID\"}, \"gridData\": {\"h\": 20, \"i\": \"b737e597-cc4d-4437-859c-6d491679599d\", \"w\": 30, \"x\": 18, \"y\": 0}, \"panelIndex\": \"b737e597-cc4d-4437-859c-6d491679599d\", \"panelRefName\": \"panel_2\", \"title\": \"Cost Per Project ID\", \"version\": \"7.9.0\"}, {\"embeddableConfig\": {\"title\": \"Total Number Of Projects\"}, \"gridData\": {\"h\": 6, \"i\": \"9eedb0c7-2089-4e0f-af98-721034203aad\", \"w\": 8, \"x\": 0, \"y\": 14}, \"panelIndex\": \"9eedb0c7-2089-4e0f-af98-721034203aad\", \"panelRefName\": \"panel_3\", \"title\": \"Total Number Of Projects\", \"version\": \"7.9.0\"}, {\"embeddableConfig\": {\"title\": \"Cost Per Invoice Month\"}, \"gridData\": {\"h\": 15, \"i\": \"f4d0ebcb-ac15-4c31-ab57-7f22e0c3e02a\", \"w\": 48, \"x\": 0, \"y\": 20}, \"panelIndex\": \"f4d0ebcb-ac15-4c31-ab57-7f22e0c3e02a\", \"panelRefName\": \"panel_4\", \"title\": \"Cost Per Invoice Month\", \"version\": \"7.9.0\"}, {\"embeddableConfig\": {\"title\": \"Total Billing Cost\"}, \"gridData\": {\"h\": 15, \"i\": \"991e60a8-68eb-4c2b-ac9a-b553e90dd49d\", \"w\": 48, \"x\": 0, \"y\": 35}, \"panelIndex\": \"991e60a8-68eb-4c2b-ac9a-b553e90dd49d\", \"panelRefName\": \"panel_5\", \"title\": \"Total Billing Cost\", \"version\": \"7.9.0\"}]",
                "timeRestore": false,
                "title": "[Metricbeat GCP] Billing Overview",
                "version": 1
            },
            "id": "76c9e920-e890-11ea-bf8c-d13ebf358a78",
            "migrationVersion": {
                "dashboard": "7.3.0"
            },
            "namespaces": [
                "default"
            ],
            "references": [
                {
                    "id": "5d2f9160-e88e-11ea-bf8c-d13ebf358a78",
                    "name": "panel_0",
                    "type": "visualization"
                },
                {
                    "id": "520c6f10-ec8a-11ea-a0ed-7fe6b565d158",
                    "name": "panel_1",
                    "type": "lens"
                },
                {
                    "id": "057de170-e88d-11ea-bf8c-d13ebf358a78",
                    "name": "panel_2",
                    "type": "lens"
                },
                {
                    "id": "dd835300-e88f-11ea-bf8c-d13ebf358a78",
                    "name": "panel_3",
                    "type": "lens"
                },
                {
                    "id": "e6933020-e88d-11ea-bf8c-d13ebf358a78",
                    "name": "panel_4",
                    "type": "lens"
                },
                {
                    "id": "73346db0-e88d-11ea-bf8c-d13ebf358a78",
                    "name": "panel_5",
                    "type": "lens"
                }
            ],
            "type": "dashboard",
            "updated_at": "2020-09-01T19:41:37.582Z",
            "version": "WzYwNDMsOF0="
        },
        {
            "attributes": {
                "description": "",
                "kibanaSavedObjectMeta": {
                    "searchSourceJSON": "{\"filter\": [], \"query\": {\"language\": \"kuery\", \"query\": \"\"}}"
                },
                "title": "Account ID Filter [Metricbeat GCP]",
                "uiStateJSON": "{}",
                "version": 1,
                "visState": "{\"aggs\": [], \"params\": {\"controls\": [{\"fieldName\": \"cloud.provider\", \"id\": \"1598550838945\", \"indexPatternRefName\": \"control_0_index_pattern\", \"label\": \"Cloud Provider \", \"options\": {\"dynamicOptions\": true, \"multiselect\": false, \"order\": \"desc\", \"size\": 5, \"type\": \"terms\"}, \"parent\": \"\", \"type\": \"list\"}, {\"fieldName\": \"cloud.account.id\", \"id\": \"1598893530938\", \"indexPatternRefName\": \"control_1_index_pattern\", \"label\": \"Account ID\", \"options\": {\"dynamicOptions\": true, \"multiselect\": true, \"order\": \"desc\", \"size\": 5, \"type\": \"terms\"}, \"parent\": \"1598550838945\", \"type\": \"list\"}, {\"fieldName\": \"gcp.billing.invoice_month\", \"id\": \"1598988595566\", \"indexPatternRefName\": \"control_2_index_pattern\", \"label\": \"Invoice Month\", \"options\": {\"dynamicOptions\": true, \"multiselect\": true, \"order\": \"desc\", \"size\": 5, \"type\": \"terms\"}, \"parent\": \"\", \"type\": \"list\"}], \"pinFilters\": false, \"updateFiltersOnChange\": false, \"useTimeFilter\": false}, \"title\": \"Account ID Filter [Metricbeat GCP]\", \"type\": \"input_control_vis\"}"
            },
            "id": "5d2f9160-e88e-11ea-bf8c-d13ebf358a78",
            "migrationVersion": {
                "visualization": "7.8.0"
            },
            "namespaces": [
                "default"
            ],
            "references": [
                {
                    "id": "metricbeat-*",
                    "name": "control_0_index_pattern",
                    "type": "index-pattern"
                },
                {
                    "id": "metricbeat-*",
                    "name": "control_1_index_pattern",
                    "type": "index-pattern"
                },
                {
                    "id": "metricbeat-*",
                    "name": "control_2_index_pattern",
                    "type": "index-pattern"
                }
            ],
            "type": "visualization",
            "updated_at": "2020-09-01T19:30:18.073Z",
            "version": "WzU3NDMsOF0="
        },
        {
            "attributes": {
                "description": "",
                "expression": "kibana\n| kibana_context  query=\"{\\\"query\\\":\\\"\\\",\\\"language\\\":\\\"kuery\\\"}\" filters=\"[]\"\n| lens_merge_tables layerIds=\"e12171da-25a4-41ea-86d3-8fd71205c263\" \n  tables={esaggs index=\"metricbeat-*\" metricsAtAllLevels=true partialRows=true includeFormatHints=true  aggConfigs=\"[{\\\"id\\\":\\\"6011e524-4646-410b-8d1c-06c281e8f7ed\\\",\\\"enabled\\\":true,\\\"type\\\":\\\"terms\\\",\\\"schema\\\":\\\"segment\\\",\\\"params\\\":{\\\"field\\\":\\\"gcp.billing.invoice_month\\\",\\\"orderBy\\\":\\\"f8ab301c-f139-4573-b233-ed8a3f717e24\\\",\\\"order\\\":\\\"desc\\\",\\\"size\\\":12,\\\"otherBucket\\\":false,\\\"otherBucketLabel\\\":\\\"Other\\\",\\\"missingBucket\\\":false,\\\"missingBucketLabel\\\":\\\"Missing\\\"}},{\\\"id\\\":\\\"f8ab301c-f139-4573-b233-ed8a3f717e24\\\",\\\"enabled\\\":true,\\\"type\\\":\\\"sum\\\",\\\"schema\\\":\\\"metric\\\",\\\"params\\\":{\\\"field\\\":\\\"gcp.billing.total\\\",\\\"missing\\\":0}}]\" | lens_rename_columns idMap=\"{\\\"col-0-6011e524-4646-410b-8d1c-06c281e8f7ed\\\":{\\\"label\\\":\\\"Invoice Month\\\",\\\"dataType\\\":\\\"string\\\",\\\"operationType\\\":\\\"terms\\\",\\\"scale\\\":\\\"ordinal\\\",\\\"sourceField\\\":\\\"gcp.billing.invoice_month\\\",\\\"isBucketed\\\":true,\\\"params\\\":{\\\"size\\\":12,\\\"orderBy\\\":{\\\"type\\\":\\\"column\\\",\\\"columnId\\\":\\\"f8ab301c-f139-4573-b233-ed8a3f717e24\\\"},\\\"orderDirection\\\":\\\"desc\\\"},\\\"customLabel\\\":true,\\\"id\\\":\\\"6011e524-4646-410b-8d1c-06c281e8f7ed\\\"},\\\"col-1-f8ab301c-f139-4573-b233-ed8a3f717e24\\\":{\\\"label\\\":\\\"Total Billing Cost\\\",\\\"dataType\\\":\\\"number\\\",\\\"operationType\\\":\\\"sum\\\",\\\"sourceField\\\":\\\"gcp.billing.total\\\",\\\"isBucketed\\\":false,\\\"scale\\\":\\\"ratio\\\",\\\"customLabel\\\":true,\\\"id\\\":\\\"f8ab301c-f139-4573-b233-ed8a3f717e24\\\"}}\"}\n| lens_datatable \n  columns={lens_datatable_columns columnIds=\"6011e524-4646-410b-8d1c-06c281e8f7ed\" columnIds=\"f8ab301c-f139-4573-b233-ed8a3f717e24\"}",
                "state": {
                    "datasourceMetaData": {
                        "filterableIndexPatterns": [
                            {
                                "id": "metricbeat-*",
                                "title": "metricbeat-*"
                            }
                        ]
                    },
                    "datasourceStates": {
                        "indexpattern": {
                            "currentIndexPatternId": "metricbeat-*",
                            "layers": {
                                "e12171da-25a4-41ea-86d3-8fd71205c263": {
                                    "columnOrder": [
                                        "6011e524-4646-410b-8d1c-06c281e8f7ed",
                                        "f8ab301c-f139-4573-b233-ed8a3f717e24"
                                    ],
                                    "columns": {
                                        "6011e524-4646-410b-8d1c-06c281e8f7ed": {
                                            "customLabel": true,
                                            "dataType": "string",
                                            "isBucketed": true,
                                            "label": "Invoice Month",
                                            "operationType": "terms",
                                            "params": {
                                                "orderBy": {
                                                    "columnId": "f8ab301c-f139-4573-b233-ed8a3f717e24",
                                                    "type": "column"
                                                },
                                                "orderDirection": "desc",
                                                "size": 12
                                            },
                                            "scale": "ordinal",
                                            "sourceField": "gcp.billing.invoice_month"
                                        },
                                        "f8ab301c-f139-4573-b233-ed8a3f717e24": {
                                            "customLabel": true,
                                            "dataType": "number",
                                            "isBucketed": false,
                                            "label": "Total Billing Cost",
                                            "operationType": "sum",
                                            "scale": "ratio",
                                            "sourceField": "gcp.billing.total"
                                        }
                                    },
                                    "indexPatternId": "metricbeat-*"
                                }
                            }
                        }
                    },
                    "filters": [],
                    "query": {
                        "language": "kuery",
                        "query": ""
                    },
                    "visualization": {
                        "layers": [
                            {
                                "columns": [
                                    "6011e524-4646-410b-8d1c-06c281e8f7ed",
                                    "f8ab301c-f139-4573-b233-ed8a3f717e24"
                                ],
                                "layerId": "e12171da-25a4-41ea-86d3-8fd71205c263"
                            }
                        ]
                    }
                },
                "title": "Total Cost Table [Metricbeat GCP]",
                "visualizationType": "lnsDatatable"
            },
            "id": "520c6f10-ec8a-11ea-a0ed-7fe6b565d158",
            "migrationVersion": {
                "lens": "7.8.0"
            },
            "namespaces": [
                "default"
            ],
            "references": [],
            "type": "lens",
            "updated_at": "2020-09-01T19:35:41.441Z",
            "version": "WzU5MDEsOF0="
        },
        {
            "attributes": {
                "description": "",
                "expression": "kibana\n| kibana_context  query=\"{\\\"query\\\":\\\"\\\",\\\"language\\\":\\\"kuery\\\"}\" filters=\"[]\"\n| lens_merge_tables layerIds=\"4ca843af-63d7-46b9-a719-51a81eebf1f7\" \n  tables={esaggs index=\"metricbeat-*\" metricsAtAllLevels=true partialRows=true includeFormatHints=true  aggConfigs=\"[{\\\"id\\\":\\\"2477291e-9021-4eb2-9fce-8da1ee792c49\\\",\\\"enabled\\\":true,\\\"type\\\":\\\"terms\\\",\\\"schema\\\":\\\"segment\\\",\\\"params\\\":{\\\"field\\\":\\\"gcp.billing.project_id\\\",\\\"orderBy\\\":\\\"10b91492-efef-490d-bc7a-c2074b2eae84\\\",\\\"order\\\":\\\"desc\\\",\\\"size\\\":20,\\\"otherBucket\\\":false,\\\"otherBucketLabel\\\":\\\"Other\\\",\\\"missingBucket\\\":false,\\\"missingBucketLabel\\\":\\\"Missing\\\"}},{\\\"id\\\":\\\"10b91492-efef-490d-bc7a-c2074b2eae84\\\",\\\"enabled\\\":true,\\\"type\\\":\\\"max\\\",\\\"schema\\\":\\\"metric\\\",\\\"params\\\":{\\\"field\\\":\\\"gcp.billing.total\\\",\\\"missing\\\":0}}]\" | lens_rename_columns idMap=\"{\\\"col-0-2477291e-9021-4eb2-9fce-8da1ee792c49\\\":{\\\"label\\\":\\\"Cost Per Project ID\\\",\\\"dataType\\\":\\\"string\\\",\\\"operationType\\\":\\\"terms\\\",\\\"scale\\\":\\\"ordinal\\\",\\\"sourceField\\\":\\\"gcp.billing.project_id\\\",\\\"isBucketed\\\":true,\\\"params\\\":{\\\"size\\\":20,\\\"orderBy\\\":{\\\"type\\\":\\\"column\\\",\\\"columnId\\\":\\\"10b91492-efef-490d-bc7a-c2074b2eae84\\\"},\\\"orderDirection\\\":\\\"desc\\\"},\\\"customLabel\\\":true,\\\"id\\\":\\\"2477291e-9021-4eb2-9fce-8da1ee792c49\\\"},\\\"col-1-10b91492-efef-490d-bc7a-c2074b2eae84\\\":{\\\"label\\\":\\\"Maximum of gcp.billing.total\\\",\\\"dataType\\\":\\\"number\\\",\\\"operationType\\\":\\\"max\\\",\\\"sourceField\\\":\\\"gcp.billing.total\\\",\\\"isBucketed\\\":false,\\\"scale\\\":\\\"ratio\\\",\\\"id\\\":\\\"10b91492-efef-490d-bc7a-c2074b2eae84\\\"}}\"}\n| lens_pie shape=\"pie\" hideLabels=false groups=\"2477291e-9021-4eb2-9fce-8da1ee792c49\" metric=\"10b91492-efef-490d-bc7a-c2074b2eae84\" numberDisplay=\"percent\" categoryDisplay=\"default\" legendDisplay=\"default\" percentDecimals=3 nestedLegend=false",
                "state": {
                    "datasourceMetaData": {
                        "filterableIndexPatterns": [
                            {
                                "id": "metricbeat-*",
                                "title": "metricbeat-*"
                            }
                        ]
                    },
                    "datasourceStates": {
                        "indexpattern": {
                            "currentIndexPatternId": "metricbeat-*",
                            "layers": {
                                "4ca843af-63d7-46b9-a719-51a81eebf1f7": {
                                    "columnOrder": [
                                        "2477291e-9021-4eb2-9fce-8da1ee792c49",
                                        "10b91492-efef-490d-bc7a-c2074b2eae84"
                                    ],
                                    "columns": {
                                        "10b91492-efef-490d-bc7a-c2074b2eae84": {
                                            "dataType": "number",
                                            "isBucketed": false,
                                            "label": "Maximum of gcp.billing.total",
                                            "operationType": "max",
                                            "scale": "ratio",
                                            "sourceField": "gcp.billing.total"
                                        },
                                        "2477291e-9021-4eb2-9fce-8da1ee792c49": {
                                            "customLabel": true,
                                            "dataType": "string",
                                            "isBucketed": true,
                                            "label": "Cost Per Project ID",
                                            "operationType": "terms",
                                            "params": {
                                                "orderBy": {
                                                    "columnId": "10b91492-efef-490d-bc7a-c2074b2eae84",
                                                    "type": "column"
                                                },
                                                "orderDirection": "desc",
                                                "size": 20
                                            },
                                            "scale": "ordinal",
                                            "sourceField": "gcp.billing.project_id"
                                        }
                                    },
                                    "indexPatternId": "metricbeat-*"
                                }
                            }
                        }
                    },
                    "filters": [],
                    "query": {
                        "language": "kuery",
                        "query": ""
                    },
                    "visualization": {
                        "layers": [
                            {
                                "categoryDisplay": "default",
                                "groups": [
                                    "2477291e-9021-4eb2-9fce-8da1ee792c49"
                                ],
                                "layerId": "4ca843af-63d7-46b9-a719-51a81eebf1f7",
                                "legendDisplay": "default",
                                "metric": "10b91492-efef-490d-bc7a-c2074b2eae84",
                                "nestedLegend": false,
                                "numberDisplay": "percent"
                            }
                        ],
                        "shape": "pie"
                    }
                },
                "title": "Cost Per Project ID [Metricbeat GCP]",
                "visualizationType": "lnsPie"
            },
            "id": "057de170-e88d-11ea-bf8c-d13ebf358a78",
            "migrationVersion": {
                "lens": "7.8.0"
            },
            "namespaces": [
                "default"
            ],
            "references": [],
            "type": "lens",
            "updated_at": "2020-08-31T02:45:59.906Z",
            "version": "WzUxODksOF0="
        },
        {
            "attributes": {
                "description": "",
                "expression": "kibana\n| kibana_context  query=\"{\\\"query\\\":\\\"\\\",\\\"language\\\":\\\"kuery\\\"}\" filters=\"[]\"\n| lens_merge_tables layerIds=\"4cb00ce3-c62e-46f3-90ce-b69c876b9605\" \n  tables={esaggs index=\"metricbeat-*\" metricsAtAllLevels=true partialRows=true includeFormatHints=true  aggConfigs=\"[{\\\"id\\\":\\\"2f66b924-5392-4e5e-93fe-5b23a87068c1\\\",\\\"enabled\\\":true,\\\"type\\\":\\\"cardinality\\\",\\\"schema\\\":\\\"metric\\\",\\\"params\\\":{\\\"field\\\":\\\"gcp.billing.project_id\\\",\\\"missing\\\":0}}]\" | lens_rename_columns idMap=\"{\\\"col-0-2f66b924-5392-4e5e-93fe-5b23a87068c1\\\":{\\\"label\\\":\\\"\\\",\\\"dataType\\\":\\\"number\\\",\\\"operationType\\\":\\\"cardinality\\\",\\\"isBucketed\\\":false,\\\"scale\\\":\\\"ratio\\\",\\\"sourceField\\\":\\\"gcp.billing.project_id\\\",\\\"customLabel\\\":true,\\\"id\\\":\\\"2f66b924-5392-4e5e-93fe-5b23a87068c1\\\"}}\"}\n| lens_metric_chart title=\"\" accessor=\"2f66b924-5392-4e5e-93fe-5b23a87068c1\" mode=\"full\"",
                "state": {
                    "datasourceMetaData": {
                        "filterableIndexPatterns": [
                            {
                                "id": "metricbeat-*",
                                "title": "metricbeat-*"
                            }
                        ]
                    },
                    "datasourceStates": {
                        "indexpattern": {
                            "currentIndexPatternId": "metricbeat-*",
                            "layers": {
                                "4cb00ce3-c62e-46f3-90ce-b69c876b9605": {
                                    "columnOrder": [
                                        "2f66b924-5392-4e5e-93fe-5b23a87068c1"
                                    ],
                                    "columns": {
                                        "2f66b924-5392-4e5e-93fe-5b23a87068c1": {
                                            "customLabel": true,
                                            "dataType": "number",
                                            "isBucketed": false,
                                            "label": "",
                                            "operationType": "cardinality",
                                            "scale": "ratio",
                                            "sourceField": "gcp.billing.project_id"
                                        }
                                    },
                                    "indexPatternId": "metricbeat-*"
                                }
                            }
                        }
                    },
                    "filters": [],
                    "query": {
                        "language": "kuery",
                        "query": ""
                    },
                    "visualization": {
                        "accessor": "2f66b924-5392-4e5e-93fe-5b23a87068c1",
                        "layerId": "4cb00ce3-c62e-46f3-90ce-b69c876b9605"
                    }
                },
                "title": "Total Number Of Projects [Metricbeat GCP]",
                "visualizationType": "lnsMetric"
            },
            "id": "dd835300-e88f-11ea-bf8c-d13ebf358a78",
            "migrationVersion": {
                "lens": "7.8.0"
            },
            "namespaces": [
                "default"
            ],
            "references": [],
            "type": "lens",
            "updated_at": "2020-08-31T02:50:27.115Z",
            "version": "WzUzMTgsOF0="
        },
        {
            "attributes": {
                "description": "",
                "expression": "kibana\n| kibana_context  query=\"{\\\"query\\\":\\\"\\\",\\\"language\\\":\\\"kuery\\\"}\" filters=\"[]\"\n| lens_merge_tables layerIds=\"4ca843af-63d7-46b9-a719-51a81eebf1f7\" \n  tables={esaggs index=\"metricbeat-*\" metricsAtAllLevels=true partialRows=true includeFormatHints=true  aggConfigs=\"[{\\\"id\\\":\\\"e25f49de-f161-4be8-a8fc-519188a7776c\\\",\\\"enabled\\\":true,\\\"type\\\":\\\"terms\\\",\\\"schema\\\":\\\"segment\\\",\\\"params\\\":{\\\"field\\\":\\\"gcp.billing.project_id\\\",\\\"orderBy\\\":\\\"af747bf6-66e9-4760-bbd8-3dae9c97159d\\\",\\\"order\\\":\\\"desc\\\",\\\"size\\\":10,\\\"otherBucket\\\":false,\\\"otherBucketLabel\\\":\\\"Other\\\",\\\"missingBucket\\\":false,\\\"missingBucketLabel\\\":\\\"Missing\\\"}},{\\\"id\\\":\\\"b92edf5e-58bc-4382-9cd5-19db2c332c93\\\",\\\"enabled\\\":true,\\\"type\\\":\\\"terms\\\",\\\"schema\\\":\\\"segment\\\",\\\"params\\\":{\\\"field\\\":\\\"gcp.billing.invoice_month\\\",\\\"orderBy\\\":\\\"_key\\\",\\\"order\\\":\\\"asc\\\",\\\"size\\\":5,\\\"otherBucket\\\":false,\\\"otherBucketLabel\\\":\\\"Other\\\",\\\"missingBucket\\\":false,\\\"missingBucketLabel\\\":\\\"Missing\\\"}},{\\\"id\\\":\\\"af747bf6-66e9-4760-bbd8-3dae9c97159d\\\",\\\"enabled\\\":true,\\\"type\\\":\\\"max\\\",\\\"schema\\\":\\\"metric\\\",\\\"params\\\":{\\\"field\\\":\\\"gcp.billing.total\\\",\\\"missing\\\":0}}]\" | lens_rename_columns idMap=\"{\\\"col-0-e25f49de-f161-4be8-a8fc-519188a7776c\\\":{\\\"label\\\":\\\"Monthly Cost\\\",\\\"dataType\\\":\\\"string\\\",\\\"operationType\\\":\\\"terms\\\",\\\"scale\\\":\\\"ordinal\\\",\\\"sourceField\\\":\\\"gcp.billing.project_id\\\",\\\"isBucketed\\\":true,\\\"params\\\":{\\\"size\\\":10,\\\"orderBy\\\":{\\\"type\\\":\\\"column\\\",\\\"columnId\\\":\\\"af747bf6-66e9-4760-bbd8-3dae9c97159d\\\"},\\\"orderDirection\\\":\\\"desc\\\"},\\\"customLabel\\\":true,\\\"id\\\":\\\"e25f49de-f161-4be8-a8fc-519188a7776c\\\"},\\\"col-2-b92edf5e-58bc-4382-9cd5-19db2c332c93\\\":{\\\"label\\\":\\\"Invoice Month\\\",\\\"dataType\\\":\\\"string\\\",\\\"operationType\\\":\\\"terms\\\",\\\"scale\\\":\\\"ordinal\\\",\\\"sourceField\\\":\\\"gcp.billing.invoice_month\\\",\\\"isBucketed\\\":true,\\\"params\\\":{\\\"size\\\":5,\\\"orderBy\\\":{\\\"type\\\":\\\"alphabetical\\\"},\\\"orderDirection\\\":\\\"asc\\\"},\\\"customLabel\\\":true,\\\"id\\\":\\\"b92edf5e-58bc-4382-9cd5-19db2c332c93\\\"},\\\"col-3-af747bf6-66e9-4760-bbd8-3dae9c97159d\\\":{\\\"label\\\":\\\"Total Billing Cost\\\",\\\"dataType\\\":\\\"number\\\",\\\"operationType\\\":\\\"max\\\",\\\"sourceField\\\":\\\"gcp.billing.total\\\",\\\"isBucketed\\\":false,\\\"scale\\\":\\\"ratio\\\",\\\"customLabel\\\":true,\\\"id\\\":\\\"af747bf6-66e9-4760-bbd8-3dae9c97159d\\\"}}\"}\n| lens_xy_chart xTitle=\"Monthly Cost\" yTitle=\"Total Billing Cost\" legend={lens_xy_legendConfig isVisible=true position=\"right\"} fittingFunction=\"None\" \n  layers={lens_xy_layer layerId=\"4ca843af-63d7-46b9-a719-51a81eebf1f7\" hide=false xAccessor=\"e25f49de-f161-4be8-a8fc-519188a7776c\" yScaleType=\"linear\" xScaleType=\"ordinal\" isHistogram=false splitAccessor=\"b92edf5e-58bc-4382-9cd5-19db2c332c93\"  seriesType=\"bar_stacked\" accessors=\"af747bf6-66e9-4760-bbd8-3dae9c97159d\" columnToLabel=\"{\\\"af747bf6-66e9-4760-bbd8-3dae9c97159d\\\":\\\"Total Billing Cost\\\",\\\"b92edf5e-58bc-4382-9cd5-19db2c332c93\\\":\\\"Invoice Month\\\"}\"}",
                "state": {
                    "datasourceMetaData": {
                        "filterableIndexPatterns": [
                            {
                                "id": "metricbeat-*",
                                "title": "metricbeat-*"
                            }
                        ]
                    },
                    "datasourceStates": {
                        "indexpattern": {
                            "currentIndexPatternId": "metricbeat-*",
                            "layers": {
                                "4ca843af-63d7-46b9-a719-51a81eebf1f7": {
                                    "columnOrder": [
                                        "e25f49de-f161-4be8-a8fc-519188a7776c",
                                        "b92edf5e-58bc-4382-9cd5-19db2c332c93",
                                        "af747bf6-66e9-4760-bbd8-3dae9c97159d"
                                    ],
                                    "columns": {
                                        "af747bf6-66e9-4760-bbd8-3dae9c97159d": {
                                            "customLabel": true,
                                            "dataType": "number",
                                            "isBucketed": false,
                                            "label": "Total Billing Cost",
                                            "operationType": "max",
                                            "scale": "ratio",
                                            "sourceField": "gcp.billing.total"
                                        },
                                        "b92edf5e-58bc-4382-9cd5-19db2c332c93": {
                                            "customLabel": true,
                                            "dataType": "string",
                                            "isBucketed": true,
                                            "label": "Invoice Month",
                                            "operationType": "terms",
                                            "params": {
                                                "orderBy": {
                                                    "type": "alphabetical"
                                                },
                                                "orderDirection": "asc",
                                                "size": 5
                                            },
                                            "scale": "ordinal",
                                            "sourceField": "gcp.billing.invoice_month"
                                        },
                                        "e25f49de-f161-4be8-a8fc-519188a7776c": {
                                            "customLabel": true,
                                            "dataType": "string",
                                            "isBucketed": true,
                                            "label": "Monthly Cost",
                                            "operationType": "terms",
                                            "params": {
                                                "orderBy": {
                                                    "columnId": "af747bf6-66e9-4760-bbd8-3dae9c97159d",
                                                    "type": "column"
                                                },
                                                "orderDirection": "desc",
                                                "size": 10
                                            },
                                            "scale": "ordinal",
                                            "sourceField": "gcp.billing.project_id"
                                        }
                                    },
                                    "indexPatternId": "metricbeat-*"
                                }
                            }
                        }
                    },
                    "filters": [],
                    "query": {
                        "language": "kuery",
                        "query": ""
                    },
                    "visualization": {
                        "fittingFunction": "None",
                        "layers": [
                            {
                                "accessors": [
                                    "af747bf6-66e9-4760-bbd8-3dae9c97159d"
                                ],
                                "layerId": "4ca843af-63d7-46b9-a719-51a81eebf1f7",
                                "seriesType": "bar_stacked",
                                "splitAccessor": "b92edf5e-58bc-4382-9cd5-19db2c332c93",
                                "xAccessor": "e25f49de-f161-4be8-a8fc-519188a7776c"
                            }
                        ],
                        "legend": {
                            "isVisible": true,
                            "position": "right"
                        },
                        "preferredSeriesType": "bar_stacked"
                    }
                },
                "title": "Monthly Cost Per Project [Metricbeat GCP]",
                "visualizationType": "lnsXY"
            },
            "id": "e6933020-e88d-11ea-bf8c-d13ebf358a78",
            "migrationVersion": {
                "lens": "7.8.0"
            },
            "namespaces": [
                "default"
            ],
            "references": [],
            "type": "lens",
            "updated_at": "2020-08-31T17:12:47.088Z",
            "version": "WzU1NjksOF0="
        },
        {
            "attributes": {
                "description": "",
                "expression": "kibana\n| kibana_context  query=\"{\\\"query\\\":\\\"\\\",\\\"language\\\":\\\"kuery\\\"}\" filters=\"[]\"\n| lens_merge_tables layerIds=\"4ca843af-63d7-46b9-a719-51a81eebf1f7\"\n  layerIds=\"325e60ce-0fbd-42b0-82f6-b10df31fef6c\" \n  tables={esaggs index=\"metricbeat-*\" metricsAtAllLevels=true partialRows=true includeFormatHints=true timeFields=\"@timestamp\" aggConfigs=\"[{\\\"id\\\":\\\"1164563d-d2b3-4067-bc7b-d694179182ed\\\",\\\"enabled\\\":true,\\\"type\\\":\\\"date_histogram\\\",\\\"schema\\\":\\\"segment\\\",\\\"params\\\":{\\\"field\\\":\\\"@timestamp\\\",\\\"useNormalizedEsInterval\\\":true,\\\"interval\\\":\\\"1d\\\",\\\"drop_partials\\\":false,\\\"min_doc_count\\\":0,\\\"extended_bounds\\\":{}}},{\\\"id\\\":\\\"10b91492-efef-490d-bc7a-c2074b2eae84\\\",\\\"enabled\\\":true,\\\"type\\\":\\\"sum\\\",\\\"schema\\\":\\\"metric\\\",\\\"params\\\":{\\\"field\\\":\\\"gcp.billing.total\\\",\\\"missing\\\":0}}]\" | lens_rename_columns idMap=\"{\\\"col-0-1164563d-d2b3-4067-bc7b-d694179182ed\\\":{\\\"label\\\":\\\"@timestamp\\\",\\\"dataType\\\":\\\"date\\\",\\\"operationType\\\":\\\"date_histogram\\\",\\\"sourceField\\\":\\\"@timestamp\\\",\\\"isBucketed\\\":true,\\\"scale\\\":\\\"interval\\\",\\\"params\\\":{\\\"interval\\\":\\\"1d\\\"},\\\"id\\\":\\\"1164563d-d2b3-4067-bc7b-d694179182ed\\\"},\\\"col-1-10b91492-efef-490d-bc7a-c2074b2eae84\\\":{\\\"label\\\":\\\"Total Billing Cost\\\",\\\"dataType\\\":\\\"number\\\",\\\"operationType\\\":\\\"sum\\\",\\\"sourceField\\\":\\\"gcp.billing.total\\\",\\\"isBucketed\\\":false,\\\"scale\\\":\\\"ratio\\\",\\\"customLabel\\\":true,\\\"id\\\":\\\"10b91492-efef-490d-bc7a-c2074b2eae84\\\"}}\"}\n  tables={esaggs index=\"metricbeat-*\" metricsAtAllLevels=true partialRows=true includeFormatHints=true timeFields=\"@timestamp\" aggConfigs=\"[{\\\"id\\\":\\\"faaaaf23-f362-4a00-be9e-8a155208a39e\\\",\\\"enabled\\\":true,\\\"type\\\":\\\"terms\\\",\\\"schema\\\":\\\"segment\\\",\\\"params\\\":{\\\"field\\\":\\\"gcp.billing.project_id\\\",\\\"orderBy\\\":\\\"3041fc1b-ceb8-4188-b55d-d354819f267e\\\",\\\"order\\\":\\\"desc\\\",\\\"size\\\":10,\\\"otherBucket\\\":false,\\\"otherBucketLabel\\\":\\\"Other\\\",\\\"missingBucket\\\":false,\\\"missingBucketLabel\\\":\\\"Missing\\\"}},{\\\"id\\\":\\\"c4bc659c-3e7c-41f2-bc38-32d9edee95e8\\\",\\\"enabled\\\":true,\\\"type\\\":\\\"date_histogram\\\",\\\"schema\\\":\\\"segment\\\",\\\"params\\\":{\\\"field\\\":\\\"@timestamp\\\",\\\"useNormalizedEsInterval\\\":true,\\\"interval\\\":\\\"1d\\\",\\\"drop_partials\\\":false,\\\"min_doc_count\\\":0,\\\"extended_bounds\\\":{}}},{\\\"id\\\":\\\"3041fc1b-ceb8-4188-b55d-d354819f267e\\\",\\\"enabled\\\":true,\\\"type\\\":\\\"max\\\",\\\"schema\\\":\\\"metric\\\",\\\"params\\\":{\\\"field\\\":\\\"gcp.billing.total\\\",\\\"missing\\\":0}}]\" | lens_rename_columns idMap=\"{\\\"col-0-faaaaf23-f362-4a00-be9e-8a155208a39e\\\":{\\\"sourceField\\\":\\\"gcp.billing.project_id\\\",\\\"isBucketed\\\":true,\\\"dataType\\\":\\\"string\\\",\\\"scale\\\":\\\"ordinal\\\",\\\"operationType\\\":\\\"terms\\\",\\\"label\\\":\\\"Project ID\\\",\\\"customLabel\\\":true,\\\"params\\\":{\\\"size\\\":10,\\\"orderBy\\\":{\\\"columnId\\\":\\\"3041fc1b-ceb8-4188-b55d-d354819f267e\\\",\\\"type\\\":\\\"column\\\"},\\\"orderDirection\\\":\\\"desc\\\"},\\\"id\\\":\\\"faaaaf23-f362-4a00-be9e-8a155208a39e\\\"},\\\"col-2-c4bc659c-3e7c-41f2-bc38-32d9edee95e8\\\":{\\\"sourceField\\\":\\\"@timestamp\\\",\\\"isBucketed\\\":true,\\\"dataType\\\":\\\"date\\\",\\\"scale\\\":\\\"interval\\\",\\\"operationType\\\":\\\"date_histogram\\\",\\\"label\\\":\\\"@timestamp\\\",\\\"params\\\":{\\\"interval\\\":\\\"1d\\\"},\\\"id\\\":\\\"c4bc659c-3e7c-41f2-bc38-32d9edee95e8\\\"},\\\"col-3-3041fc1b-ceb8-4188-b55d-d354819f267e\\\":{\\\"sourceField\\\":\\\"gcp.billing.total\\\",\\\"isBucketed\\\":false,\\\"dataType\\\":\\\"number\\\",\\\"scale\\\":\\\"ratio\\\",\\\"operationType\\\":\\\"max\\\",\\\"label\\\":\\\"Total Billing\\\",\\\"customLabel\\\":true,\\\"id\\\":\\\"3041fc1b-ceb8-4188-b55d-d354819f267e\\\"}}\"}\n| lens_xy_chart xTitle=\"@timestamp [1]\" yTitle=\"Total Billing\" legend={lens_xy_legendConfig isVisible=true position=\"right\"} fittingFunction=\"None\" \n  layers={lens_xy_layer layerId=\"325e60ce-0fbd-42b0-82f6-b10df31fef6c\" hide=false xAccessor=\"c4bc659c-3e7c-41f2-bc38-32d9edee95e8\" yScaleType=\"linear\" xScaleType=\"time\" isHistogram=true splitAccessor=\"faaaaf23-f362-4a00-be9e-8a155208a39e\"  seriesType=\"bar_stacked\" accessors=\"3041fc1b-ceb8-4188-b55d-d354819f267e\" columnToLabel=\"{\\\"3041fc1b-ceb8-4188-b55d-d354819f267e\\\":\\\"Total Billing\\\",\\\"faaaaf23-f362-4a00-be9e-8a155208a39e\\\":\\\"Project ID\\\"}\"}",
                "state": {
                    "datasourceMetaData": {
                        "filterableIndexPatterns": [
                            {
                                "id": "metricbeat-*",
                                "title": "metricbeat-*"
                            }
                        ]
                    },
                    "datasourceStates": {
                        "indexpattern": {
                            "currentIndexPatternId": "metricbeat-*",
                            "layers": {
                                "325e60ce-0fbd-42b0-82f6-b10df31fef6c": {
                                    "columnOrder": [
                                        "faaaaf23-f362-4a00-be9e-8a155208a39e",
                                        "c4bc659c-3e7c-41f2-bc38-32d9edee95e8",
                                        "3041fc1b-ceb8-4188-b55d-d354819f267e"
                                    ],
                                    "columns": {
                                        "3041fc1b-ceb8-4188-b55d-d354819f267e": {
                                            "customLabel": true,
                                            "dataType": "number",
                                            "isBucketed": false,
                                            "label": "Total Billing",
                                            "operationType": "max",
                                            "scale": "ratio",
                                            "sourceField": "gcp.billing.total"
                                        },
                                        "c4bc659c-3e7c-41f2-bc38-32d9edee95e8": {
                                            "dataType": "date",
                                            "isBucketed": true,
                                            "label": "@timestamp",
                                            "operationType": "date_histogram",
                                            "params": {
                                                "interval": "1d"
                                            },
                                            "scale": "interval",
                                            "sourceField": "@timestamp"
                                        },
                                        "faaaaf23-f362-4a00-be9e-8a155208a39e": {
                                            "customLabel": true,
                                            "dataType": "string",
                                            "isBucketed": true,
                                            "label": "Project ID",
                                            "operationType": "terms",
                                            "params": {
                                                "orderBy": {
                                                    "columnId": "3041fc1b-ceb8-4188-b55d-d354819f267e",
                                                    "type": "column"
                                                },
                                                "orderDirection": "desc",
                                                "size": 10
                                            },
                                            "scale": "ordinal",
                                            "sourceField": "gcp.billing.project_id"
                                        }
                                    },
                                    "indexPatternId": "metricbeat-*"
                                },
                                "4ca843af-63d7-46b9-a719-51a81eebf1f7": {
                                    "columnOrder": [
                                        "1164563d-d2b3-4067-bc7b-d694179182ed",
                                        "10b91492-efef-490d-bc7a-c2074b2eae84"
                                    ],
                                    "columns": {
                                        "10b91492-efef-490d-bc7a-c2074b2eae84": {
                                            "customLabel": true,
                                            "dataType": "number",
                                            "isBucketed": false,
                                            "label": "Total Billing Cost",
                                            "operationType": "sum",
                                            "scale": "ratio",
                                            "sourceField": "gcp.billing.total"
                                        },
                                        "1164563d-d2b3-4067-bc7b-d694179182ed": {
                                            "dataType": "date",
                                            "isBucketed": true,
                                            "label": "@timestamp",
                                            "operationType": "date_histogram",
                                            "params": {
                                                "interval": "1d"
                                            },
                                            "scale": "interval",
                                            "sourceField": "@timestamp"
                                        },
                                        "e25f49de-f161-4be8-a8fc-519188a7776c": {
                                            "customLabel": true,
                                            "dataType": "string",
                                            "isBucketed": true,
                                            "label": "Cost",
                                            "operationType": "terms",
                                            "params": {
                                                "orderBy": {
                                                    "columnId": "10b91492-efef-490d-bc7a-c2074b2eae84",
                                                    "type": "column"
                                                },
                                                "orderDirection": "desc",
                                                "size": 15
                                            },
                                            "scale": "ordinal",
                                            "sourceField": "gcp.billing.project_id"
                                        }
                                    },
                                    "indexPatternId": "metricbeat-*"
                                }
                            }
                        }
                    },
                    "filters": [],
                    "query": {
                        "language": "kuery",
                        "query": ""
                    },
                    "visualization": {
                        "fittingFunction": "None",
                        "layers": [
                            {
                                "accessors": [
                                    "3041fc1b-ceb8-4188-b55d-d354819f267e"
                                ],
                                "layerId": "325e60ce-0fbd-42b0-82f6-b10df31fef6c",
                                "seriesType": "bar_stacked",
                                "splitAccessor": "faaaaf23-f362-4a00-be9e-8a155208a39e",
                                "xAccessor": "c4bc659c-3e7c-41f2-bc38-32d9edee95e8"
                            }
                        ],
                        "legend": {
                            "isVisible": true,
                            "position": "right"
                        },
                        "preferredSeriesType": "bar_stacked"
                    }
                },
                "title": "Total Cost Bar Chart [Metricbeat GCP]",
                "visualizationType": "lnsXY"
            },
            "id": "73346db0-e88d-11ea-bf8c-d13ebf358a78",
            "migrationVersion": {
                "lens": "7.8.0"
            },
            "namespaces": [
                "default"
            ],
            "references": [],
            "type": "lens",
            "updated_at": "2020-09-01T19:36:43.994Z",
            "version": "WzU5MzgsOF0="
        }
    ],
    "version": "7.9.0"
}