{
    "attributes": {
        "description": "",
        "kibanaSavedObjectMeta": {
            "searchSourceJSON": {
                "filter": [],
                "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index",
                "query": {
                    "language": "kuery",
                    "query": ""
                }
            }
        },
        "title": "Service States [Metricbeat Windows] ECS",
        "uiStateJSON": {
            "vis": {
                "params": {
                    "sort": {
                        "columnIndex": null,
                        "direction": null
                    }
                }
            }
        },
        "version": 1,
        "visState": {
            "aggs": [
                {
                    "enabled": true,
                    "id": "1",
                    "params": {
                        "aggregate": "concat",
                        "customLabel": "Latest Report",
                        "field": "@timestamp",
                        "size": 1,
                        "sortField": "@timestamp",
                        "sortOrder": "desc"
                    },
                    "schema": "metric",
                    "type": "top_hits"
                },
                {
                    "enabled": true,
                    "id": "2",
                    "params": {
                        "customLabel": "Service",
                        "field": "windows.service.display_name",
                        "order": "asc",
                        "orderBy": "_term",
                        "size": 100
                    },
                    "schema": "bucket",
                    "type": "terms"
                },
                {
                    "enabled": true,
                    "id": "5",
                    "params": {
                        "customLabel": "Host",
                        "field": "host.name",
                        "order": "desc",
                        "orderBy": "_term",
                        "size": 5
                    },
                    "schema": "bucket",
                    "type": "terms"
                },
                {
                    "enabled": true,
                    "id": "3",
                    "params": {
                        "customLabel": "State",
                        "field": "windows.service.state",
                        "order": "desc",
                        "orderAgg": {
                            "enabled": true,
                            "id": "3-orderAgg",
                            "params": {
                                "field": "@timestamp"
                            },
                            "schema": "orderAgg",
                            "type": "max"
                        },
                        "orderBy": "custom",
                        "size": 1
                    },
                    "schema": "bucket",
                    "type": "terms"
                },
                {
                    "enabled": true,
                    "id": "4",
                    "params": {
                        "customLabel": "Startup Type",
                        "field": "windows.service.start_type",
                        "order": "desc",
                        "orderAgg": {
                            "enabled": true,
                            "id": "4-orderAgg",
                            "params": {
                                "field": "@timestamp"
                            },
                            "schema": "orderAgg",
                            "type": "max"
                        },
                        "orderBy": "custom",
                        "size": 1
                    },
                    "schema": "bucket",
                    "type": "terms"
                }
            ],
            "params": {
                "perPage": 10,
                "showMeticsAtAllLevels": false,
                "showPartialRows": false,
                "showToolbar": true,
                "showTotal": false,
                "sort": {
                    "columnIndex": null,
                    "direction": null
                },
                "totalFunc": "sum"
            },
            "title": "Service States [Metricbeat Windows] ECS",
            "type": "table"
        }
    },
    "coreMigrationVersion": "8.0.0",
    "id": "eb8277d0-c98c-11e7-9835-2f31fe08873b-ecs",
    "migrationVersion": {
        "visualization": "7.14.0"
    },
    "references": [
        {
            "id": "metricbeat-*",
            "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
            "type": "index-pattern"
        }
    ],
    "type": "visualization",
    "updated_at": "2021-08-04T16:32:00.935Z",
    "version": "WzQyMjUsMV0="
}