Hi i want to fetch the id of a particular visualization in a dashboard using API call.
Here is the json for the dashboard. I want to fetch the id of the visualization which is a legacy metric with label Number of users in it.
{
"id": "e39bd850-fe00-11ed-8409-8541bc1e01bc",
"type": "dashboard",
"namespaces": [
"default"
],
"updated_at": "2023-06-12T08:05:41.005Z",
"created_at": "2023-06-12T08:05:41.005Z",
"version": "WzUzNDIxLDMyXQ==",
"attributes": {
"controlGroupInput": {
"controlStyle": "oneLine",
"chainingSystem": "HIERARCHICAL",
"panelsJSON": "{\"1b69e1a7-5aa6-4d46-b11f-656edaccc038\":{\"type\":\"optionsListControl\",\"order\":0,\"grow\":true,\"width\":\"medium\",\"explicitInput\":{\"id\":\"1b69e1a7-5aa6-4d46-b11f-656edaccc038\",\"fieldName\":\"remoteip.keyword\",\"title\":\"Select Target IP\",\"enhancements\":{}}},\"2a3973c9-774c-4c8f-beee-eb5005c8f5ca\":{\"type\":\"optionsListControl\",\"order\":1,\"grow\":true,\"width\":\"medium\",\"explicitInput\":{\"id\":\"2a3973c9-774c-4c8f-beee-eb5005c8f5ca\",\"fieldName\":\"email.keyword\",\"title\":\"Select User\",\"enhancements\":{},\"selectedOptions\":[]}}}",
"ignoreParentSettingsJSON": "{\"ignoreFilters\":false,\"ignoreQuery\":false,\"ignoreTimerange\":false,\"ignoreValidations\":false}"
},
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[]}"
},
"description": "",
"timeRestore": false,
"optionsJSON": "{\"useMargins\":true,\"syncColors\":false,\"syncCursor\":true,\"syncTooltips\":false,\"hidePanelTitles\":false}",
"panelsJSON": "[{\"version\":\"8.7.0\",\"type\":\"lens\",\"gridData\":{\"x\":0,\"y\":0,\"w\":7,\"h\":7,\"i\":\"a0c7076b-cf46-404b-82ca-9768ebe2f2c0\"},\"panelIndex\":\"a0c7076b-cf46-404b-82ca-9768ebe2f2c0\",\"embeddableConfig\":{\"attributes\":{\"title\":\"\",\"visualizationType\":\"lnsLegacyMetric\",\"type\":\"lens\",\"references\":[{\"type\":\"index-pattern\",\"id\":\"65922670-4a22-491c-85fd-ff45a7681ea3\",\"name\":\"indexpattern-datasource-layer-178e0b51-f8dd-43f9-9830-e9ad802be5e6\"},{\"type\":\"index-pattern\",\"name\":\"df5e5cb8-272a-48a2-b1fc-c753e4f6bf97\",\"id\":\"65922670-4a22-491c-85fd-ff45a7681ea3\"}],\"state\":{\"visualization\":{\"layerId\":\"178e0b51-f8dd-43f9-9830-e9ad802be5e6\",\"accessor\":\"3c9f4670-6fa5-4003-bcad-a07f19672835\",\"layerType\":\"data\",\"colorMode\":\"Labels\",\"palette\":{\"name\":\"custom\",\"type\":\"palette\",\"params\":{\"steps\":3,\"name\":\"custom\",\"reverse\":false,\"rangeType\":\"number\",\"rangeMin\":0,\"rangeMax\":null,\"progression\":\"fixed\",\"stops\":[{\"color\":\"#209280\",\"stop\":0.66},{\"color\":\"#424CDA\",\"stop\":1.33},{\"color\":\"#cc5642\",\"stop\":2}],\"continuity\":\"above\",\"maxSteps\":5,\"colorStops\":[{\"color\":\"#209280\",\"stop\":0},{\"color\":\"#424CDA\",\"stop\":0.66},{\"color\":\"#cc5642\",\"stop\":1.33}]}}},\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filters\":[{\"meta\":{\"index\":\"df5e5cb8-272a-48a2-b1fc-c753e4f6bf97\",\"alias\":\"NOT (email.keyword :\\\"-\\\") \",\"type\":\"custom\",\"key\":\"query\",\"value\":\"{\\\"bool\\\":{\\\"must\\\":[],\\\"filter\\\":[{\\\"bool\\\":{\\\"must_not\\\":{\\\"bool\\\":{\\\"should\\\":[{\\\"term\\\":{\\\"email.keyword\\\":{\\\"value\\\":\\\"-\\\"}}}],\\\"minimum_should_match\\\":1}}}}],\\\"should\\\":[],\\\"must_not\\\":[]}}\",\"disabled\":false,\"negate\":false},\"query\":{\"bool\":{\"must\":[],\"filter\":[{\"bool\":{\"must_not\":{\"bool\":{\"should\":[{\"term\":{\"email.keyword\":{\"value\":\"-\"}}}],\"minimum_should_match\":1}}}}],\"should\":[],\"must_not\":[]}},\"$state\":{\"store\":\"appState\"}}],\"datasourceStates\":{\"formBased\":{\"layers\":{\"178e0b51-f8dd-43f9-9830-e9ad802be5e6\":{\"columns\":{\"3c9f4670-6fa5-4003-bcad-a07f19672835\":{\"label\":\"Number of Users\",\"dataType\":\"number\",\"operationType\":\"unique_count\",\"scale\":\"ratio\",\"sourceField\":\"email.keyword\",\"isBucketed\":false,\"params\":{\"emptyAsNull\":true},\"customLabel\":true,\"filter\":{\"query\":\"NOT (email.keyword :\\\"-\\\") \",\"language\":\"kuery\"}}},\"columnOrder\":[\"3c9f4670-6fa5-4003-bcad-a07f19672835\"],\"sampling\":1,\"incompleteColumns\":{}}}},\"textBased\":{\"layers\":{}}},\"internalReferences\":[],\"adHocDataViews\":{}}},\"enhancements\":{},\"hidePanelTitles\":true},\"title\":\"Logged in User Count\"},{\"version\":\"8.7.0\",\"type\":\"lens\",\"gridData\":{\"x\":7,\"y\":0,\"w\":7,\"h\":7,\"i\":\"2200416f-9acf-4df1-a721-dd218cea9c7c\"},\"panelIndex\":\"2200416f-9acf-4df1-a721-dd218cea9c7c\",\"embeddableConfig\":{\"attributes\":{\"title\":\"\",\"visualizationType\":\"lnsLegacyMetric\",\"type\":\"lens\",\"references\":[{\"type\":\"index-pattern\",\"id\":\"43410484-d055-4899-bd5b-eb917c4af12e\",\"name\":\"indexpattern-datasource-layer-0dbdf147-163f-4b41-8af2-2ec53f887f13\"}],\"state\":{\"visualization\":{\"layerId\":\"0dbdf147-163f-4b41-8af2-2ec53f887f13\",\"accessor\":\"88407fb6-1252-4041-bd13-b4cb22e962bb\",\"layerType\":\"data\",\"colorMode\":\"Labels\",\"palette\":{\"name\":\"custom\",\"type\":\"palette\",\"params\":{\"steps\":3,\"name\":\"custom\",\"reverse\":false,\"rangeType\":\"number\",\"rangeMin\":null,\"rangeMax\":null,\"progression\":\"fixed\",\"stops\":[{\"color\":\"#209280\",\"stop\":5.33},{\"color\":\"#424CDA\",\"stop\":10.66},{\"color\":\"#cc5642\",\"stop\":16}],\"continuity\":\"all\",\"maxSteps\":5,\"colorStops\":[{\"color\":\"#209280\",\"stop\":null},{\"color\":\"#424CDA\",\"stop\":5.33},{\"color\":\"#cc5642\",\"stop\":10.66}]}}},\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filters\":[],\"datasourceStates\":{\"formBased\":{\"layers\":{\"0dbdf147-163f-4b41-8af2-2ec53f887f13\":{\"columns\":{\"88407fb6-1252-4041-bd13-b4cb22e962bb\":{\"label\":\"Target IP Count\",\"dataType\":\"number\",\"operationType\":\"unique_count\",\"scale\":\"ratio\",\"sourceField\":\"remoteip.keyword\",\"isBucketed\":false,\"params\":{\"emptyAsNull\":true},\"customLabel\":true}},\"columnOrder\":[\"88407fb6-1252-4041-bd13-b4cb22e962bb\"],\"sampling\":1,\"incompleteColumns\":{}}}},\"textBased\":{\"layers\":{}}},\"internalReferences\":[],\"adHocDataViews\":{}}},\"enhancements\":{},\"hidePanelTitles\":true}},{\"version\":\"8.7.0\",\"type\":\"lens\",\"gridData\":{\"x\":14,\"y\":0,\"w\":7,\"h\":7,\"i\":\"1b71de4b-6e61-445c-b779-ef6c9fff898b\"},\"panelIndex\":\"1b71de4b-6e61-445c-b779-ef6c9fff898b\",\"embeddableConfig\":{\"attributes\":{\"title\":\"\",\"visualizationType\":\"lnsLegacyMetric\",\"type\":\"lens\",\"references\":[{\"type\":\"index-pattern\",\"id\":\"65922670-4a22-491c-85fd-ff45a7681ea3\",\"name\":\"indexpattern-datasource-layer-dd5037f5-30ad-4db3-9145-5c8775d4e86a\"}],\"state\":{\"visualization\":{\"layerId\":\"dd5037f5-30ad-4db3-9145-5c8775d4e86a\",\"accessor\":\"cd0cd046-c25d-4b5d-b04e-23cdb5456ff7\",\"layerType\":\"data\",\"colorMode\":\"Labels\",\"palette\":{\"name\":\"custom\",\"type\":\"palette\",\"params\":{\"steps\":3,\"name\":\"custom\",\"reverse\":false,\"rangeType\":\"number\",\"rangeMin\":null,\"rangeMax\":null,\"progression\":\"fixed\",\"stops\":[{\"color\":\"#209280\",\"stop\":24},{\"color\":\"#424cda\",\"stop\":48},{\"color\":\"#cc5642\",\"stop\":72}],\"colorStops\":[{\"color\":\"#209280\",\"stop\":null},{\"color\":\"#424cda\",\"stop\":24},{\"color\":\"#cc5642\",\"stop\":48}],\"continuity\":\"all\",\"maxSteps\":5}}},\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filters\":[],\"datasourceStates\":{\"formBased\":{\"layers\":{\"dd5037f5-30ad-4db3-9145-5c8775d4e86a\":{\"columns\":{\"cd0cd046-c25d-4b5d-b04e-23cdb5456ff7\":{\"label\":\"Number of Sessions\",\"dataType\":\"number\",\"operationType\":\"unique_count\",\"scale\":\"ratio\",\"sourceField\":\"token.keyword\",\"isBucketed\":false,\"params\":{\"emptyAsNull\":true},\"customLabel\":true,\"filter\":{\"query\":\"NOT (token.keyword : \\\"-\\\")\",\"language\":\"kuery\"}}},\"columnOrder\":[\"cd0cd046-c25d-4b5d-b04e-23cdb5456ff7\"],\"sampling\":1,\"incompleteColumns\":{}}}},\"textBased\":{\"layers\":{}}},\"internalReferences\":[],\"adHocDataViews\":{}}},\"hidePanelTitles\":true,\"enhancements\":{\"dynamicActions\":{\"events\":[]}}}},{\"version\":\"8.7.0\",\"type\":\"lens\",\"gridData\":{\"x\":0,\"y\":7,\"w\":48,\"h\":19,\"i\":\"2e5a3db5-e32e-4f93-b5af-7e15c5152edf\"},\"panelIndex\":\"2e5a3db5-e32e-4f93-b5af-7e15c5152edf\",\"embeddableConfig\":{\"attributes\":{\"title\":\"3dxp_trace\",\"description\":\"\",\"visualizationType\":\"lnsDatatable\",\"type\":\"lens\",\"references\":[{\"type\":\"index-pattern\",\"id\":\"43410484-d055-4899-bd5b-eb917c4af12e\",\"name\":\"indexpattern-datasource-layer-584e3a16-8bb4-43d9-b966-fda95b4e8085\"}],\"state\":{\"visualization\":{\"columns\":[{\"columnId\":\"ebd5a73b-44ed-4ec7-be32-7f42c250baf3\",\"isTransposed\":false,\"alignment\":\"left\",\"width\":161.55},{\"columnId\":\"1749f806-82a4-48ee-9d08-761727d448cc\",\"isTransposed\":false,\"width\":198.21666666666664},{\"columnId\":\"a3b72eaf-5a10-432a-9ef4-117e8ae78cc6\",\"isTransposed\":false,\"width\":119.21666666666667},{\"columnId\":\"231f3f62-3de5-4e92-99b1-1278e8e41ea2\",\"isTransposed\":false,\"width\":79.80000000000001},{\"columnId\":\"41f9cf78-f9b1-48cd-8a13-2c2b12e1eb06\",\"isTransposed\":false,\"width\":130},{\"columnId\":\"ca364360-2006-4c50-9d5e-3659e7d8b75e\",\"isTransposed\":false,\"hidden\":true},{\"columnId\":\"93f4d836-a22b-4566-a10f-a8794fe9aaf6\",\"isTransposed\":false}],\"layerId\":\"584e3a16-8bb4-43d9-b966-fda95b4e8085\",\"layerType\":\"data\",\"sorting\":{\"direction\":\"none\"}},\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filters\":[],\"datasourceStates\":{\"formBased\":{\"layers\":{\"584e3a16-8bb4-43d9-b966-fda95b4e8085\":{\"columns\":{\"ebd5a73b-44ed-4ec7-be32-7f42c250baf3\":{\"label\":\"Target IP\",\"dataType\":\"string\",\"operationType\":\"terms\",\"scale\":\"ordinal\",\"sourceField\":\"remoteip.keyword\",\"isBucketed\":true,\"params\":{\"size\":100,\"orderBy\":{\"type\":\"column\",\"columnId\":\"ca364360-2006-4c50-9d5e-3659e7d8b75e\"},\"orderDirection\":\"desc\",\"otherBucket\":false,\"missingBucket\":false,\"parentFormat\":{\"id\":\"terms\"},\"include\":[],\"exclude\":[],\"includeIsRegex\":false,\"excludeIsRegex\":false,\"secondaryFields\":[]},\"customLabel\":true},\"1749f806-82a4-48ee-9d08-761727d448cc\":{\"label\":\"Page Visited\",\"dataType\":\"string\",\"operationType\":\"terms\",\"scale\":\"ordinal\",\"sourceField\":\"url.keyword\",\"isBucketed\":true,\"params\":{\"size\":100,\"orderBy\":{\"type\":\"column\",\"columnId\":\"ca364360-2006-4c50-9d5e-3659e7d8b75e\"},\"orderDirection\":\"desc\",\"otherBucket\":false,\"missingBucket\":false,\"parentFormat\":{\"id\":\"terms\"},\"include\":[],\"exclude\":[],\"includeIsRegex\":false,\"excludeIsRegex\":false,\"accuracyMode\":true},\"customLabel\":true},\"a3b72eaf-5a10-432a-9ef4-117e8ae78cc6\":{\"label\":\"User Token\",\"dataType\":\"string\",\"operationType\":\"terms\",\"scale\":\"ordinal\",\"sourceField\":\"token.keyword\",\"isBucketed\":true,\"params\":{\"size\":100,\"orderBy\":{\"type\":\"column\",\"columnId\":\"ca364360-2006-4c50-9d5e-3659e7d8b75e\"},\"orderDirection\":\"desc\",\"otherBucket\":false,\"missingBucket\":false,\"parentFormat\":{\"id\":\"terms\"},\"include\":[],\"exclude\":[],\"includeIsRegex\":false,\"excludeIsRegex\":false},\"customLabel\":true},\"231f3f62-3de5-4e92-99b1-1278e8e41ea2\":{\"label\":\"Bytes Transferred\",\"dataType\":\"string\",\"operationType\":\"terms\",\"scale\":\"ordinal\",\"sourceField\":\"bytes.keyword\",\"isBucketed\":true,\"params\":{\"size\":100,\"orderBy\":{\"type\":\"column\",\"columnId\":\"ca364360-2006-4c50-9d5e-3659e7d8b75e\"},\"orderDirection\":\"desc\",\"otherBucket\":false,\"missingBucket\":false,\"parentFormat\":{\"id\":\"terms\"},\"include\":[],\"exclude\":[],\"includeIsRegex\":false,\"excludeIsRegex\":false},\"customLabel\":true},\"41f9cf78-f9b1-48cd-8a13-2c2b12e1eb06\":{\"label\":\"Time Taken\",\"dataType\":\"string\",\"operationType\":\"terms\",\"scale\":\"ordinal\",\"sourceField\":\"duration.keyword\",\"isBucketed\":true,\"params\":{\"size\":100,\"orderBy\":{\"type\":\"column\",\"columnId\":\"ca364360-2006-4c50-9d5e-3659e7d8b75e\"},\"orderDirection\":\"desc\",\"otherBucket\":false,\"missingBucket\":false,\"parentFormat\":{\"id\":\"terms\"},\"include\":[],\"exclude\":[],\"includeIsRegex\":false,\"excludeIsRegex\":false},\"customLabel\":true},\"ca364360-2006-4c50-9d5e-3659e7d8b75e\":{\"label\":\"Unique count of date.keyword\",\"dataType\":\"number\",\"operationType\":\"unique_count\",\"scale\":\"ratio\",\"sourceField\":\"date.keyword\",\"isBucketed\":false,\"params\":{\"emptyAsNull\":true}},\"93f4d836-a22b-4566-a10f-a8794fe9aaf6\":{\"label\":\"Timestamp\",\"dataType\":\"string\",\"operationType\":\"terms\",\"scale\":\"ordinal\",\"sourceField\":\"date.keyword\",\"isBucketed\":true,\"params\":{\"size\":100,\"orderBy\":{\"type\":\"column\",\"columnId\":\"ca364360-2006-4c50-9d5e-3659e7d8b75e\"},\"orderDirection\":\"desc\",\"otherBucket\":false,\"missingBucket\":false,\"parentFormat\":{\"id\":\"terms\"},\"include\":[],\"exclude\":[],\"includeIsRegex\":false,\"excludeIsRegex\":false,\"accuracyMode\":true},\"customLabel\":true}},\"columnOrder\":[\"93f4d836-a22b-4566-a10f-a8794fe9aaf6\",\"ebd5a73b-44ed-4ec7-be32-7f42c250baf3\",\"a3b72eaf-5a10-432a-9ef4-117e8ae78cc6\",\"1749f806-82a4-48ee-9d08-761727d448cc\",\"231f3f62-3de5-4e92-99b1-1278e8e41ea2\",\"41f9cf78-f9b1-48cd-8a13-2c2b12e1eb06\",\"ca364360-2006-4c50-9d5e-3659e7d8b75e\"],\"sampling\":1,\"incompleteColumns\":{}}}},\"textBased\":{\"layers\":{}}},\"internalReferences\":[],\"adHocDataViews\":{}}},\"enhancements\":{},\"hidePanelTitles\":false},\"title\":\"TomEE and Apache Logs\"},{\"version\":\"8.7.0\",\"type\":\"lens\",\"gridData\":{\"x\":0,\"y\":26,\"w\":48,\"h\":16,\"i\":\"29840d19-06da-4ddb-9d16-71074c7487cb\"},\"panelIndex\":\"29840d19-06da-4ddb-9d16-71074c7487cb\",\"embeddableConfig\":{\"attributes\":{\"title\":\"\",\"visualizationType\":\"lnsDatatable\",\"type\":\"lens\",\"references\":[{\"type\":\"index-pattern\",\"id\":\"41544246-f579-4b38-8170-b98383bde48f\",\"name\":\"indexpattern-datasource-layer-e79180df-40ce-42fc-8818-707041cc393f\"}],\"state\":{\"visualization\":{\"columns\":[{\"columnId\":\"4a2463d7-5cb2-44a7-8ca6-a7596118d2c7\",\"isTransposed\":false},{\"columnId\":\"68f1f4fb-0a2a-4934-8b30-e37e6be1f3c2\",\"isTransposed\":false,\"alignment\":\"left\"},{\"columnId\":\"3ddaeccd-3caf-4dd9-9e36-6e72295ced10\",\"isTransposed\":false},{\"columnId\":\"8d08f966-d6f8-429c-9d7b-6b9a43069d0d\",\"isTransposed\":false},{\"columnId\":\"b402e725-8b8a-42a7-b2ee-7c5ee4ebda43\",\"isTransposed\":false},{\"columnId\":\"d3d7ca5e-a5c2-4152-a987-85bfb32be92c\",\"isTransposed\":false},{\"columnId\":\"e74e7dbe-94b0-470b-b91a-45e72721e981\",\"isTransposed\":false},{\"columnId\":\"93ef8160-46b4-489a-96db-2b855e96c1b8\",\"isTransposed\":false,\"hidden\":true}],\"layerId\":\"e79180df-40ce-42fc-8818-707041cc393f\",\"layerType\":\"data\"},\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filters\":[],\"datasourceStates\":{\"formBased\":{\"layers\":{\"e79180df-40ce-42fc-8818-707041cc393f\":{\"columns\":{\"4a2463d7-5cb2-44a7-8ca6-a7596118d2c7\":{\"label\":\"Target IP\",\"dataType\":\"string\",\"operationType\":\"terms\",\"scale\":\"ordinal\",\"sourceField\":\"remoteip.keyword\",\"isBucketed\":true,\"params\":{\"size\":100,\"orderBy\":{\"type\":\"column\",\"columnId\":\"93ef8160-46b4-489a-96db-2b855e96c1b8\"},\"orderDirection\":\"desc\",\"otherBucket\":false,\"missingBucket\":false,\"parentFormat\":{\"id\":\"terms\"},\"include\":[],\"exclude\":[],\"includeIsRegex\":false,\"excludeIsRegex\":false,\"secondaryFields\":[]},\"customLabel\":true},\"68f1f4fb-0a2a-4934-8b30-e37e6be1f3c2\":{\"label\":\"Logged in user\",\"dataType\":\"string\",\"operationType\":\"terms\",\"scale\":\"ordinal\",\"sourceField\":\"email.keyword\",\"isBucketed\":true,\"params\":{\"size\":100,\"orderBy\":{\"type\":\"column\",\"columnId\":\"93ef8160-46b4-489a-96db-2b855e96c1b8\"},\"orderDirection\":\"desc\",\"otherBucket\":false,\"missingBucket\":false,\"parentFormat\":{\"id\":\"terms\"},\"include\":[],\"exclude\":[],\"includeIsRegex\":false,\"excludeIsRegex\":false},\"customLabel\":true},\"3ddaeccd-3caf-4dd9-9e36-6e72295ced10\":{\"label\":\"Page Visited\",\"dataType\":\"string\",\"operationType\":\"terms\",\"scale\":\"ordinal\",\"sourceField\":\"url.keyword\",\"isBucketed\":true,\"params\":{\"size\":100,\"orderBy\":{\"type\":\"column\",\"columnId\":\"93ef8160-46b4-489a-96db-2b855e96c1b8\"},\"orderDirection\":\"desc\",\"otherBucket\":false,\"missingBucket\":false,\"parentFormat\":{\"id\":\"terms\"},\"include\":[],\"exclude\":[],\"includeIsRegex\":false,\"excludeIsRegex\":false},\"customLabel\":true},\"8d08f966-d6f8-429c-9d7b-6b9a43069d0d\":{\"label\":\"Token\",\"dataType\":\"string\",\"operationType\":\"terms\",\"scale\":\"ordinal\",\"sourceField\":\"token.keyword\",\"isBucketed\":true,\"params\":{\"size\":100,\"orderBy\":{\"type\":\"column\",\"columnId\":\"93ef8160-46b4-489a-96db-2b855e96c1b8\"},\"orderDirection\":\"desc\",\"otherBucket\":false,\"missingBucket\":false,\"parentFormat\":{\"id\":\"terms\"},\"include\":[],\"exclude\":[],\"includeIsRegex\":false,\"excludeIsRegex\":false},\"customLabel\":true},\"b402e725-8b8a-42a7-b2ee-7c5ee4ebda43\":{\"label\":\"Bytes Transferred\",\"dataType\":\"string\",\"operationType\":\"terms\",\"scale\":\"ordinal\",\"sourceField\":\"bytes.keyword\",\"isBucketed\":true,\"params\":{\"size\":100,\"orderBy\":{\"type\":\"column\",\"columnId\":\"93ef8160-46b4-489a-96db-2b855e96c1b8\"},\"orderDirection\":\"desc\",\"otherBucket\":false,\"missingBucket\":false,\"parentFormat\":{\"id\":\"terms\"},\"include\":[],\"exclude\":[],\"includeIsRegex\":false,\"excludeIsRegex\":false},\"customLabel\":true},\"d3d7ca5e-a5c2-4152-a987-85bfb32be92c\":{\"label\":\"Time Taken\",\"dataType\":\"string\",\"operationType\":\"terms\",\"scale\":\"ordinal\",\"sourceField\":\"duration.keyword\",\"isBucketed\":true,\"params\":{\"size\":100,\"orderBy\":{\"type\":\"column\",\"columnId\":\"93ef8160-46b4-489a-96db-2b855e96c1b8\"},\"orderDirection\":\"desc\",\"otherBucket\":false,\"missingBucket\":false,\"parentFormat\":{\"id\":\"terms\"},\"include\":[],\"exclude\":[],\"includeIsRegex\":false,\"excludeIsRegex\":false},\"customLabel\":true},\"e74e7dbe-94b0-470b-b91a-45e72721e981\":{\"label\":\"Timestamp\",\"dataType\":\"string\",\"operationType\":\"terms\",\"scale\":\"ordinal\",\"sourceField\":\"date.keyword\",\"isBucketed\":true,\"params\":{\"size\":100,\"orderBy\":{\"type\":\"column\",\"columnId\":\"93ef8160-46b4-489a-96db-2b855e96c1b8\"},\"orderDirection\":\"desc\",\"otherBucket\":false,\"missingBucket\":false,\"parentFormat\":{\"id\":\"terms\"},\"include\":[],\"exclude\":[],\"includeIsRegex\":false,\"excludeIsRegex\":false},\"customLabel\":true},\"93ef8160-46b4-489a-96db-2b855e96c1b8\":{\"label\":\"Unique count of date.keyword\",\"dataType\":\"number\",\"operationType\":\"unique_count\",\"scale\":\"ratio\",\"sourceField\":\"date.keyword\",\"isBucketed\":false,\"params\":{\"emptyAsNull\":true}}},\"columnOrder\":[\"e74e7dbe-94b0-470b-b91a-45e72721e981\",\"4a2463d7-5cb2-44a7-8ca6-a7596118d2c7\",\"8d08f966-d6f8-429c-9d7b-6b9a43069d0d\",\"68f1f4fb-0a2a-4934-8b30-e37e6be1f3c2\",\"3ddaeccd-3caf-4dd9-9e36-6e72295ced10\",\"b402e725-8b8a-42a7-b2ee-7c5ee4ebda43\",\"d3d7ca5e-a5c2-4152-a987-85bfb32be92c\",\"93ef8160-46b4-489a-96db-2b855e96c1b8\"],\"sampling\":1,\"incompleteColumns\":{}}}},\"textBased\":{\"layers\":{}}},\"internalReferences\":[],\"adHocDataViews\":{}}},\"hidePanelTitles\":false,\"enhancements\":{}},\"title\":\"User Trace - all services\"},{\"version\":\"8.7.0\",\"type\":\"lens\",\"gridData\":{\"x\":0,\"y\":42,\"w\":48,\"h\":1,\"i\":\"ca111664-09f4-4925-a8c9-eb6cb11c7ee1\"},\"panelIndex\":\"ca111664-09f4-4925-a8c9-eb6cb11c7ee1\",\"embeddableConfig\":{\"attributes\":{\"title\":\"\",\"visualizationType\":\"lnsDatatable\",\"type\":\"lens\",\"references\":[{\"type\":\"index-pattern\",\"id\":\"293c84bf-b0e4-44e5-872a-4c7cd7beedbc\",\"name\":\"indexpattern-datasource-layer-835b0a57-77e4-4db5-8add-7782c0dd5caf\"}],\"state\":{\"visualization\":{\"columns\":[{\"columnId\":\"94d5cb9d-afef-49aa-bb56-0f387985ee2a\",\"isTransposed\":false},{\"columnId\":\"d13dca6a-73b0-4bbd-b586-c99ce90010a6\",\"isTransposed\":false},{\"columnId\":\"1d9cafce-83b6-418e-a359-2026f91c7929\",\"isTransposed\":false},{\"columnId\":\"cd9ccee0-028b-47f5-b102-a51c93b5e772\",\"isTransposed\":false,\"hidden\":true},{\"columnId\":\"32501688-3ff2-40f0-972c-2ee7e08840da\",\"isTransposed\":false}],\"layerId\":\"835b0a57-77e4-4db5-8add-7782c0dd5caf\",\"layerType\":\"data\",\"sorting\":{\"columnId\":\"94d5cb9d-afef-49aa-bb56-0f387985ee2a\",\"direction\":\"desc\"}},\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filters\":[],\"datasourceStates\":{\"formBased\":{\"layers\":{\"835b0a57-77e4-4db5-8add-7782c0dd5caf\":{\"columns\":{\"94d5cb9d-afef-49aa-bb56-0f387985ee2a\":{\"label\":\"Top 10 - Bytes Transferred\",\"dataType\":\"string\",\"operationType\":\"terms\",\"scale\":\"ordinal\",\"sourceField\":\"bytes.keyword\",\"isBucketed\":true,\"params\":{\"size\":10,\"orderBy\":{\"type\":\"column\",\"columnId\":\"cd9ccee0-028b-47f5-b102-a51c93b5e772\"},\"orderDirection\":\"desc\",\"otherBucket\":false,\"missingBucket\":false,\"parentFormat\":{\"id\":\"terms\"},\"include\":[],\"exclude\":[],\"includeIsRegex\":false,\"excludeIsRegex\":false},\"customLabel\":true},\"d13dca6a-73b0-4bbd-b586-c99ce90010a6\":{\"label\":\"Target IP\",\"dataType\":\"string\",\"operationType\":\"terms\",\"scale\":\"ordinal\",\"sourceField\":\"remoteip.keyword\",\"isBucketed\":true,\"params\":{\"size\":10,\"orderBy\":{\"type\":\"column\",\"columnId\":\"cd9ccee0-028b-47f5-b102-a51c93b5e772\"},\"orderDirection\":\"desc\",\"otherBucket\":false,\"missingBucket\":false,\"parentFormat\":{\"id\":\"terms\"},\"include\":[],\"exclude\":[],\"includeIsRegex\":false,\"excludeIsRegex\":false},\"customLabel\":true},\"1d9cafce-83b6-418e-a359-2026f91c7929\":{\"label\":\"Page Visited\",\"dataType\":\"string\",\"operationType\":\"terms\",\"scale\":\"ordinal\",\"sourceField\":\"url.keyword\",\"isBucketed\":true,\"params\":{\"size\":10,\"orderBy\":{\"type\":\"column\",\"columnId\":\"cd9ccee0-028b-47f5-b102-a51c93b5e772\"},\"orderDirection\":\"desc\",\"otherBucket\":false,\"missingBucket\":false,\"parentFormat\":{\"id\":\"terms\"},\"include\":[],\"exclude\":[],\"includeIsRegex\":false,\"excludeIsRegex\":false},\"customLabel\":true},\"cd9ccee0-028b-47f5-b102-a51c93b5e772\":{\"label\":\"Unique count of @timestamp\",\"dataType\":\"number\",\"operationType\":\"unique_count\",\"scale\":\"ratio\",\"sourceField\":\"@timestamp\",\"isBucketed\":false,\"params\":{\"emptyAsNull\":true}},\"32501688-3ff2-40f0-972c-2ee7e08840da\":{\"label\":\"Timestamp\",\"dataType\":\"string\",\"operationType\":\"terms\",\"scale\":\"ordinal\",\"sourceField\":\"date.keyword\",\"isBucketed\":true,\"params\":{\"size\":100,\"orderBy\":{\"type\":\"column\",\"columnId\":\"cd9ccee0-028b-47f5-b102-a51c93b5e772\"},\"orderDirection\":\"desc\",\"otherBucket\":true,\"missingBucket\":false,\"parentFormat\":{\"id\":\"terms\"},\"include\":[],\"exclude\":[],\"includeIsRegex\":false,\"excludeIsRegex\":false},\"customLabel\":true}},\"columnOrder\":[\"32501688-3ff2-40f0-972c-2ee7e08840da\",\"94d5cb9d-afef-49aa-bb56-0f387985ee2a\",\"d13dca6a-73b0-4bbd-b586-c99ce90010a6\",\"1d9cafce-83b6-418e-a359-2026f91c7929\",\"cd9ccee0-028b-47f5-b102-a51c93b5e772\"],\"sampling\":1,\"incompleteColumns\":{}}}},\"textBased\":{\"layers\":{}}},\"internalReferences\":[],\"adHocDataViews\":{}}},\"enhancements\":{},\"hidePanelTitles\":false},\"title\":\"Top 10 Data Transfers\"},{\"version\":\"8.7.0\",\"type\":\"lens\",\"gridData\":{\"x\":0,\"y\":43,\"w\":48,\"h\":1,\"i\":\"47eb91f1-d9cb-47cb-a914-47f38f191628\"},\"panelIndex\":\"47eb91f1-d9cb-47cb-a914-47f38f191628\",\"embeddableConfig\":{\"attributes\":{\"title\":\"\",\"visualizationType\":\"lnsDatatable\",\"type\":\"lens\",\"references\":[{\"type\":\"index-pattern\",\"id\":\"4c3caf66-f906-4d7a-bc1e-cf574a2e6e74\",\"name\":\"indexpattern-datasource-layer-e79180df-40ce-42fc-8818-707041cc393f\"}],\"state\":{\"visualization\":{\"columns\":[{\"columnId\":\"4a2463d7-5cb2-44a7-8ca6-a7596118d2c7\",\"isTransposed\":false},{\"columnId\":\"892761be-a6c8-4699-a389-b8c1cc76e6e7\",\"isTransposed\":false},{\"columnId\":\"68f1f4fb-0a2a-4934-8b30-e37e6be1f3c2\",\"isTransposed\":false},{\"columnId\":\"55c884c2-7003-44fe-86a0-74a788bcebdb\",\"isTransposed\":false,\"hidden\":true},{\"columnId\":\"3ddaeccd-3caf-4dd9-9e36-6e72295ced10\",\"isTransposed\":false},{\"columnId\":\"289c4ab3-1017-4e64-ac6f-016f7f35b745\",\"isTransposed\":false}],\"layerId\":\"e79180df-40ce-42fc-8818-707041cc393f\",\"layerType\":\"data\"},\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filters\":[],\"datasourceStates\":{\"formBased\":{\"layers\":{\"e79180df-40ce-42fc-8818-707041cc393f\":{\"columns\":{\"4a2463d7-5cb2-44a7-8ca6-a7596118d2c7\":{\"label\":\"Target IP\",\"dataType\":\"string\",\"operationType\":\"terms\",\"scale\":\"ordinal\",\"sourceField\":\"remoteip.keyword\",\"isBucketed\":true,\"params\":{\"size\":100,\"orderBy\":{\"type\":\"column\",\"columnId\":\"55c884c2-7003-44fe-86a0-74a788bcebdb\"},\"orderDirection\":\"desc\",\"otherBucket\":false,\"missingBucket\":false,\"parentFormat\":{\"id\":\"terms\"},\"include\":[],\"exclude\":[],\"includeIsRegex\":false,\"excludeIsRegex\":false,\"secondaryFields\":[]},\"customLabel\":true},\"892761be-a6c8-4699-a389-b8c1cc76e6e7\":{\"label\":\"Timestamp\",\"dataType\":\"string\",\"operationType\":\"terms\",\"scale\":\"ordinal\",\"sourceField\":\"date.keyword\",\"isBucketed\":true,\"params\":{\"size\":100,\"orderBy\":{\"type\":\"column\",\"columnId\":\"55c884c2-7003-44fe-86a0-74a788bcebdb\"},\"orderDirection\":\"desc\",\"otherBucket\":false,\"missingBucket\":false,\"parentFormat\":{\"id\":\"terms\"},\"include\":[],\"exclude\":[],\"includeIsRegex\":false,\"excludeIsRegex\":false},\"customLabel\":true},\"68f1f4fb-0a2a-4934-8b30-e37e6be1f3c2\":{\"label\":\"Logged in user\",\"dataType\":\"string\",\"operationType\":\"terms\",\"scale\":\"ordinal\",\"sourceField\":\"email.keyword\",\"isBucketed\":true,\"params\":{\"size\":100,\"orderBy\":{\"type\":\"column\",\"columnId\":\"55c884c2-7003-44fe-86a0-74a788bcebdb\"},\"orderDirection\":\"desc\",\"otherBucket\":false,\"missingBucket\":false,\"parentFormat\":{\"id\":\"terms\"},\"include\":[],\"exclude\":[],\"includeIsRegex\":false,\"excludeIsRegex\":false},\"customLabel\":true},\"55c884c2-7003-44fe-86a0-74a788bcebdb\":{\"label\":\"Unique count of date.keyword\",\"dataType\":\"number\",\"operationType\":\"unique_count\",\"scale\":\"ratio\",\"sourceField\":\"date.keyword\",\"isBucketed\":false,\"params\":{\"emptyAsNull\":true}},\"3ddaeccd-3caf-4dd9-9e36-6e72295ced10\":{\"label\":\"Page Visited\",\"dataType\":\"string\",\"operationType\":\"terms\",\"scale\":\"ordinal\",\"sourceField\":\"url.keyword\",\"isBucketed\":true,\"params\":{\"size\":100,\"orderBy\":{\"type\":\"column\",\"columnId\":\"55c884c2-7003-44fe-86a0-74a788bcebdb\"},\"orderDirection\":\"desc\",\"otherBucket\":false,\"missingBucket\":false,\"parentFormat\":{\"id\":\"terms\"},\"include\":[],\"exclude\":[],\"includeIsRegex\":false,\"excludeIsRegex\":false},\"customLabel\":true},\"289c4ab3-1017-4e64-ac6f-016f7f35b745\":{\"label\":\"User Token\",\"dataType\":\"string\",\"operationType\":\"terms\",\"scale\":\"ordinal\",\"sourceField\":\"token.keyword\",\"isBucketed\":true,\"params\":{\"size\":100,\"orderBy\":{\"type\":\"column\",\"columnId\":\"55c884c2-7003-44fe-86a0-74a788bcebdb\"},\"orderDirection\":\"desc\",\"otherBucket\":true,\"missingBucket\":false,\"parentFormat\":{\"id\":\"terms\"},\"include\":[],\"exclude\":[],\"includeIsRegex\":false,\"excludeIsRegex\":false},\"customLabel\":true}},\"columnOrder\":[\"4a2463d7-5cb2-44a7-8ca6-a7596118d2c7\",\"892761be-a6c8-4699-a389-b8c1cc76e6e7\",\"68f1f4fb-0a2a-4934-8b30-e37e6be1f3c2\",\"3ddaeccd-3caf-4dd9-9e36-6e72295ced10\",\"289c4ab3-1017-4e64-ac6f-016f7f35b745\",\"55c884c2-7003-44fe-86a0-74a788bcebdb\"],\"sampling\":1,\"incompleteColumns\":{}}}},\"textBased\":{\"layers\":{}}},\"internalReferences\":[],\"adHocDataViews\":{}}},\"hidePanelTitles\":false,\"enhancements\":{}},\"title\":\"Passport User Trace\"}]",
"title": "3dxp_trace",
"version": 1
},
"references": [
{
"type": "index-pattern",
"id": "65922670-4a22-491c-85fd-ff45a7681ea3",
"name": "a0c7076b-cf46-404b-82ca-9768ebe2f2c0:indexpattern-datasource-layer-178e0b51-f8dd-43f9-9830-e9ad802be5e6"
},
{
"type": "index-pattern",
"name": "a0c7076b-cf46-404b-82ca-9768ebe2f2c0:df5e5cb8-272a-48a2-b1fc-c753e4f6bf97",
"id": "65922670-4a22-491c-85fd-ff45a7681ea3"
},
{
"type": "index-pattern",
"id": "43410484-d055-4899-bd5b-eb917c4af12e",
"name": "2200416f-9acf-4df1-a721-dd218cea9c7c:indexpattern-datasource-layer-0dbdf147-163f-4b41-8af2-2ec53f887f13"
},
{
"type": "index-pattern",
"id": "65922670-4a22-491c-85fd-ff45a7681ea3",
"name": "1b71de4b-6e61-445c-b779-ef6c9fff898b:indexpattern-datasource-layer-dd5037f5-30ad-4db3-9145-5c8775d4e86a"
},
{
"type": "index-pattern",
"id": "43410484-d055-4899-bd5b-eb917c4af12e",
"name": "2e5a3db5-e32e-4f93-b5af-7e15c5152edf:indexpattern-datasource-layer-584e3a16-8bb4-43d9-b966-fda95b4e8085"
},
{
"type": "index-pattern",
"id": "41544246-f579-4b38-8170-b98383bde48f",
"name": "29840d19-06da-4ddb-9d16-71074c7487cb:indexpattern-datasource-layer-e79180df-40ce-42fc-8818-707041cc393f"
},
{
"type": "index-pattern",
"id": "293c84bf-b0e4-44e5-872a-4c7cd7beedbc",
"name": "ca111664-09f4-4925-a8c9-eb6cb11c7ee1:indexpattern-datasource-layer-835b0a57-77e4-4db5-8add-7782c0dd5caf"
},
{
"type": "index-pattern",
"id": "4c3caf66-f906-4d7a-bc1e-cf574a2e6e74",
"name": "47eb91f1-d9cb-47cb-a914-47f38f191628:indexpattern-datasource-layer-e79180df-40ce-42fc-8818-707041cc393f"
},
{
"name": "controlGroup_1b69e1a7-5aa6-4d46-b11f-656edaccc038:optionsListDataView",
"type": "index-pattern",
"id": "43410484-d055-4899-bd5b-eb917c4af12e"
},
{
"name": "controlGroup_2a3973c9-774c-4c8f-beee-eb5005c8f5ca:optionsListDataView",
"type": "index-pattern",
"id": "65922670-4a22-491c-85fd-ff45a7681ea3"
}
],
"migrationVersion": {
"dashboard": "8.7.0"
},
"coreMigrationVersion": "8.7.0"
}
I tried the following command with this a0c7076b-cf46-404b-82ca-9768ebe2f2c0 id but it gives a 404
http://demo.icebreaker.minutuscloud.com/kibana/api/saved_objects/visualization/a0c7076b-cf46-404b-82ca-9768ebe2f2c0