{
    "attributes": {
        "state": {
            "datasourceStates": {
                "indexpattern": {
                    "layers": {
                        "cbffa0b1-50bb-40fe-bd8d-6a26d2b58fb3": {
                            "columnOrder": [
                                "5d850e8e-f3e0-4ad2-9697-b8c00c03f753",
                                "a1f5b3b8-41da-452b-8683-7a9ca6b6267f",
                                "75188758-7734-4fc3-af1d-297c455715f0"
                            ],
                            "columns": {
                                "5d850e8e-f3e0-4ad2-9697-b8c00c03f753": {
                                    "customLabel": true,
                                    "dataType": "string",
                                    "isBucketed": true,
                                    "label": "Service Name",
                                    "operationType": "terms",
                                    "params": {
                                        "orderBy": {
                                            "columnId": "75188758-7734-4fc3-af1d-297c455715f0",
                                            "type": "column"
                                        },
                                        "orderDirection": "desc",
                                        "size": 5
                                    },
                                    "scale": "ordinal",
                                    "sourceField": "aws.billing.group_by.SERVICE"
                                },
                                "75188758-7734-4fc3-af1d-297c455715f0": {
                                    "customLabel": true,
                                    "dataType": "number",
                                    "isBucketed": false,
                                    "label": "Total Unblended Cost",
                                    "operationType": "sum",
                                    "scale": "ratio",
                                    "sourceField": "aws.billing.UnblendedCost.amount"
                                },
                                "a1f5b3b8-41da-452b-8683-7a9ca6b6267f": {
                                    "dataType": "string",
                                    "isBucketed": true,
                                    "label": "Top values of aws.billing.group_by.aws:createdBy",
                                    "operationType": "terms",
                                    "params": {
                                        "orderBy": {
                                            "columnId": "75188758-7734-4fc3-af1d-297c455715f0",
                                            "type": "column"
                                        },
                                        "orderDirection": "desc",
                                        "size": 10
                                    },
                                    "scale": "ordinal",
                                    "sourceField": "aws.billing.group_by.aws:createdBy"
                                }
                            }
                        }
                    }
                }
            },
            "filters": [],
            "query": {
                "language": "kuery",
                "query": ""
            },
            "visualization": {
                "fittingFunction": "None",
                "layers": [
                    {
                        "accessors": [
                            "75188758-7734-4fc3-af1d-297c455715f0"
                        ],
                        "layerId": "cbffa0b1-50bb-40fe-bd8d-6a26d2b58fb3",
                        "seriesType": "bar_stacked",
                        "splitAccessor": "a1f5b3b8-41da-452b-8683-7a9ca6b6267f",
                        "xAccessor": "5d850e8e-f3e0-4ad2-9697-b8c00c03f753"
                    }
                ],
                "legend": {
                    "isVisible": true,
                    "position": "right"
                },
                "preferredSeriesType": "bar_stacked"
            }
        },
        "title": "Cost Per Service Per User [Metricbeat AWS]",
        "visualizationType": "lnsXY"
    },
    "coreMigrationVersion": "8.0.0",
    "id": "b3da5ac0-e6f1-11ea-a5b5-d5a0accaec95",
    "migrationVersion": {
        "lens": "7.13.1"
    },
    "references": [
        {
            "id": "metricbeat-*",
            "name": "indexpattern-datasource-current-indexpattern",
            "type": "index-pattern"
        },
        {
            "id": "metricbeat-*",
            "name": "indexpattern-datasource-layer-cbffa0b1-50bb-40fe-bd8d-6a26d2b58fb3",
            "type": "index-pattern"
        }
    ],
    "type": "lens",
    "updated_at": "2021-08-04T16:30:25.535Z",
    "version": "WzMzMTgsMV0="
}