generated from openMF/ph-ee-start-here
-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathPHEE.ndjson
11 lines (11 loc) · 32.7 KB
/
PHEE.ndjson
1
2
3
4
5
6
7
8
9
10
11
{"attributes":{"fieldAttrs":"{\"value.bpmnProcessId\":{\"count\":6},\"value.processDefinitionKey\":{\"count\":4},\"value.processDefinitionVersion\":{\"count\":3},\"value.processInstanceKey\":{\"count\":10},\"value.elementId\":{\"count\":6},\"value.retries\":{\"count\":2},\"value.type\":{\"count\":4},\"intent\":{\"count\":3},\"timestamp\":{\"count\":1},\"value.flowScopeKey\":{\"count\":2},\"value.version\":{\"count\":1},\"value.errorCode\":{\"count\":4},\"value.errorMessage\":{\"count\":4},\"value.errorType\":{\"count\":4},\"value.value\":{\"count\":2},\"value.name\":{\"count\":1},\"_index\":{\"count\":1},\"_type\":{\"count\":2},\"key\":{\"count\":1},\"value.worker\":{\"count\":2},\"value.bpmnElementType\":{\"count\":1}}","fields":"[]","runtimeFieldMap":"{}","timeFieldName":"timestamp","title":"zeebe-*"},"coreMigrationVersion":"7.13.2","id":"4e01ca10-26bc-11ec-95b3-cb627b5ccd4b","migrationVersion":{"index-pattern":"7.11.0"},"references":[],"type":"index-pattern","updated_at":"2022-02-14T08:39:45.748Z","version":"WzkxNDksMTZd"}
{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"},"title":"ProcessInstanceCount","uiStateJSON":"{}","version":1,"visState":"{\"title\":\"ProcessInstanceCount\",\"type\":\"table\",\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"cardinality\",\"params\":{\"field\":\"value.processInstanceKey\",\"customLabel\":\"processInstanceCount\"},\"schema\":\"metric\"},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"params\":{\"field\":\"value.bpmnProcessId\",\"orderBy\":\"1\",\"order\":\"desc\",\"size\":10,\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"customLabel\":\"processDefinition\"},\"schema\":\"bucket\"}],\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMetricsAtAllLevels\":false,\"showTotal\":false,\"showToolbar\":false,\"totalFunc\":\"sum\",\"percentageCol\":\"\"}}"},"coreMigrationVersion":"7.13.2","id":"f21cb760-26bf-11ec-95b3-cb627b5ccd4b","migrationVersion":{"visualization":"7.13.1"},"references":[{"id":"4e01ca10-26bc-11ec-95b3-cb627b5ccd4b","name":"kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"}],"type":"visualization","updated_at":"2022-01-18T11:55:14.105Z","version":"WzIzODksMTZd"}
{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"},"title":"ProcessInstanceKeys","uiStateJSON":"{}","version":1,"visState":"{\"title\":\"ProcessInstanceKeys\",\"type\":\"table\",\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"params\":{},\"schema\":\"metric\"},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"params\":{\"field\":\"value.bpmnProcessId\",\"orderBy\":\"1\",\"order\":\"desc\",\"size\":1005,\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"customLabel\":\"ProcessDef\"},\"schema\":\"bucket\"},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"params\":{\"field\":\"value.processInstanceKey\",\"orderBy\":\"1\",\"order\":\"desc\",\"size\":5,\"otherBucket\":true,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"customLabel\":\"ProcessInstanceKey\"},\"schema\":\"bucket\"}],\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMetricsAtAllLevels\":false,\"showTotal\":false,\"showToolbar\":false,\"totalFunc\":\"sum\",\"percentageCol\":\"\"}}"},"coreMigrationVersion":"7.13.2","id":"df1144f0-26c0-11ec-95b3-cb627b5ccd4b","migrationVersion":{"visualization":"7.13.1"},"references":[{"id":"4e01ca10-26bc-11ec-95b3-cb627b5ccd4b","name":"kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"}],"type":"visualization","updated_at":"2022-01-18T11:55:14.105Z","version":"WzIzOTAsMTZd"}
{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"},"title":"Process Variables","uiStateJSON":"{}","version":1,"visState":"{\"title\":\"Process Variables\",\"type\":\"table\",\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"params\":{},\"schema\":\"metric\"},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"params\":{\"field\":\"value.name\",\"orderBy\":\"1\",\"order\":\"desc\",\"size\":100,\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"customLabel\":\"variableName\"},\"schema\":\"bucket\"},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"params\":{\"field\":\"value.value\",\"orderBy\":\"1\",\"order\":\"desc\",\"size\":100,\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"customLabel\":\"variableValue\"},\"schema\":\"bucket\"}],\"params\":{\"perPage\":20,\"showPartialRows\":false,\"showMetricsAtAllLevels\":false,\"showTotal\":false,\"showToolbar\":false,\"totalFunc\":\"sum\",\"percentageCol\":\"\"}}"},"coreMigrationVersion":"7.13.2","id":"8cf5f410-26c3-11ec-95b3-cb627b5ccd4b","migrationVersion":{"visualization":"7.13.1"},"references":[{"id":"4e01ca10-26bc-11ec-95b3-cb627b5ccd4b","name":"kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"}],"type":"visualization","updated_at":"2022-01-18T11:55:14.105Z","version":"WzIzOTEsMTZd"}
{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[]}"},"title":"Variable Input","uiStateJSON":"{}","version":1,"visState":"{\"title\":\"Variable Input\",\"type\":\"input_control_vis\",\"aggs\":[],\"params\":{\"controls\":[{\"id\":\"1633538407315\",\"fieldName\":\"value.name\",\"parent\":\"\",\"label\":\"VariableName\",\"type\":\"list\",\"options\":{\"type\":\"terms\",\"multiselect\":true,\"dynamicOptions\":true,\"size\":5,\"order\":\"desc\"},\"indexPatternRefName\":\"control_0_index_pattern\"}],\"updateFiltersOnChange\":false,\"useTimeFilter\":false,\"pinFilters\":false}}"},"coreMigrationVersion":"7.13.2","id":"2b5132f0-26c4-11ec-95b3-cb627b5ccd4b","migrationVersion":{"visualization":"7.13.1"},"references":[{"id":"4e01ca10-26bc-11ec-95b3-cb627b5ccd4b","name":"control_0_index_pattern","type":"index-pattern"}],"type":"visualization","updated_at":"2022-01-18T11:55:14.105Z","version":"WzIzOTIsMTZd"}
{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"},"title":"Task/State ","uiStateJSON":"{}","version":1,"visState":"{\"title\":\"Task/State \",\"type\":\"table\",\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"params\":{},\"schema\":\"metric\"},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"params\":{\"field\":\"value.type\",\"orderBy\":\"1\",\"order\":\"desc\",\"size\":20,\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"customLabel\":\"Task/State Name\"},\"schema\":\"bucket\"}],\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMetricsAtAllLevels\":false,\"showTotal\":false,\"showToolbar\":false,\"totalFunc\":\"sum\",\"percentageCol\":\"\"}}"},"coreMigrationVersion":"7.13.2","id":"cc282ac0-26c5-11ec-95b3-cb627b5ccd4b","migrationVersion":{"visualization":"7.13.1"},"references":[{"id":"4e01ca10-26bc-11ec-95b3-cb627b5ccd4b","name":"kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"}],"type":"visualization","updated_at":"2022-01-18T11:55:14.105Z","version":"WzIzOTMsMTZd"}
{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"language\":\"kuery\",\"query\":\"\"},\"filter\":[]}"},"title":"Vega Visualisation 1: Time taken for each task v1","uiStateJSON":"{}","version":1,"visState":"{\"title\":\"Vega Visualisation 1: Time taken for each task v1\",\"type\":\"vega\",\"aggs\":[],\"params\":{\"spec\":\"{\\n \\\"$schema\\\": \\\"https://vega.github.io/schema/vega-lite/v5.json\\\",\\n \\\"title\\\": \\\"Event counts from all indexes\\\",\\n \\\"data\\\": {\\n \\\"url\\\": {\\n \\\"index\\\": \\\"_all\\\",\\n \\\"body\\\": {\\n \\\"aggs\\\": {\\n \\\"categories\\\": {\\n \\\"terms\\\": {\\\"field\\\": \\\"value.elementId\\\"},\\n \\\"aggs\\\": {\\n \\\"duration\\\": {\\n \\\"scripted_metric\\\": {\\n \\\"init_script\\\": \\\"state.responses = ['start':0,'stop':0]\\\",\\n \\\"map_script\\\": \\\"def intent = doc['intent'].value; def time = doc['timestamp'].value.getMillis(); if (intent.contains('ELEMENT_COMPLETED')) { state.responses.stop = time;} else if(intent.contains('ELEMENT_ACTIVATED')) {state.responses.start = time;}\\\",\\n \\\"combine_script\\\": \\\"state.responses\\\",\\n \\\"reduce_script\\\": \\\"def diff = null;for (responses in states) {diff = responses['stop'] - responses['start'];}return diff;\\\"\\n }\\n }\\n }\\n }\\n },\\n \\\"size\\\": 0,\\n \\\"query\\\": {\\n \\\"bool\\\": {\\n \\\"must\\\": [],\\n \\\"filter\\\": [\\n {\\\"match_all\\\": {}},\\n {\\\"match_phrase\\\": {\\\"value.bpmnProcessId\\\": \\\"mpesa-flow-v3-oaf\\\"}},\\n {\\\"match_phrase\\\": {\\\"value.processInstanceKey\\\": \\\"2251799817833262\\\"}}\\n ],\\n \\\"should\\\": [],\\n \\\"must_not\\\": [\\n {\\\"wildcard\\\": {\\\"value.elementId\\\": \\\"*Flow*\\\"}},\\n {\\\"wildcard\\\": {\\\"value.elementId\\\": \\\"*Gateway*\\\"}},\\n {\\\"wildcard\\\": {\\\"value.elementId\\\": \\\"*Event*\\\"}},\\n {\\\"wildcard\\\": {\\\"value.elementId\\\": \\\"*mpesa*\\\"}}\\n ]\\n }\\n }\\n }\\n },\\n \\\"format\\\": {\\\"property\\\": \\\"aggregations.categories.buckets\\\"}\\n },\\n \\\"mark\\\": \\\"bar\\\",\\n \\\"encoding\\\": {\\n \\\"x\\\": {\\n \\\"field\\\": \\\"duration.value\\\",\\n \\\"type\\\": \\\"temporal\\\",\\n \\\"timeUnit\\\": \\\"seconds\\\",\\n \\\"axis\\\": {\\\"title\\\": \\\"Time taken in seconds \\\"}\\n },\\n \\\"y\\\": {\\\"field\\\": \\\"key\\\", \\\"type\\\": \\\"nominal\\\", \\\"axis\\\": {\\\"title\\\": \\\"Tasks\\\"}},\\n \\\"color\\\": {\\\"field\\\": \\\"key\\\", \\\"type\\\": \\\"nominal\\\"}\\n },\\n \\\"layer\\\": [\\n {\\n \\\"mark\\\": \\\"rect\\\",\\n \\\"encoding\\\": {\\n \\\"color\\\": {\\n \\\"field\\\": \\\"duration.value\\\",\\n \\\"type\\\": \\\"temporal\\\",\\n \\\"timeUnit\\\": \\\"seconds\\\",\\n \\\"title\\\": \\\"Time elapsed\\\",\\n \\\"legend\\\": {\\\"direction\\\": \\\"horizontal\\\", \\\"gradientLength\\\": 120}\\n }\\n }\\n }\\n ]\\n}\"}}"},"coreMigrationVersion":"7.13.2","id":"8b628a10-829d-11ec-94f2-7f85f327d8f2","migrationVersion":{"visualization":"7.13.1"},"references":[],"type":"visualization","updated_at":"2022-02-09T11:11:37.621Z","version":"WzMxMzEsMTZd"}
{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"language\":\"lucene\",\"query\":\"\"},\"filter\":[]}"},"title":"Vega Visualisation 3: Pie chart for transactions above filter","uiStateJSON":"{}","version":1,"visState":"{\"title\":\"Vega Visualisation 3: Pie chart for transactions above filter\",\"type\":\"vega\",\"aggs\":[],\"params\":{\"spec\":\"{\\n $schema: https://vega.github.io/schema/vega-lite/v5.json\\n title: Event counts from all indexes\\n data: {\\n url: {\\n index: _all\\n body: {\\n aggs: {\\n categories: {\\n terms: {\\n field: value.processInstanceKey\\n }\\n aggs: {\\n duration: {\\n scripted_metric: {\\n init_script: state.responses = ['start':0,'stop':0]\\n map_script: def intent = doc['intent'].value; def time = doc['timestamp'].value.getMillis(); state.responses.start = time; if (intent.contains('COMPLETED') && time > state.responses['stop']) { state.responses.stop = time;} else if(intent.contains('CREATED') && time < state.responses['start'] ) {state.responses.start = time;}\\n combine_script: state.responses\\n reduce_script: def diff = null;for (responses in states) {diff = responses['stop'] - responses['start'];}return diff;\\n }\\n }\\n }\\n }\\n }\\n size: 0\\n query: {\\n bool: {\\n must: [\\n ]\\n filter: [\\n {\\n match_all: {\\n }\\n }\\n {\\n match_phrase: {\\n value.bpmnProcessId: mpesa-flow-v3\\n }\\n }\\n ]\\n should: [\\n ]\\n must_not: [\\n ]\\n }\\n }\\n }\\n }\\n format: {\\n property: aggregations.categories.buckets\\n }\\n }\\n transform: [\\n {\\n calculate: \\\"datum['duration.value'] > 120000 ? 'above 2 min' : 'below 2 min' \\\"\\n as: diff\\n }\\n ]\\n mark: arc\\n encoding: {\\n theta: {\\n field: duration.value\\n aggregate: count\\n type: quantitative\\n }\\n color: {\\n field: diff\\n type: nominal\\n axis: {\\n title: Process Instance\\n }\\n }\\n }\\n}\"}}"},"coreMigrationVersion":"7.13.2","id":"04748e40-7771-11ec-80b6-cdd557ff9b70","migrationVersion":{"visualization":"7.13.1"},"references":[],"type":"visualization","updated_at":"2022-01-18T11:55:14.105Z","version":"WzIzOTQsMTZd"}
{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[]}"},"title":"Count of Failed/Cancelled Txns","uiStateJSON":"{}","version":1,"visState":"{\"title\":\"Count of Failed/Cancelled Txns\",\"type\":\"metrics\",\"aggs\":[],\"params\":{\"time_range_mode\":\"entire_time_range\",\"id\":\"61ca57f0-469d-11e7-af02-69e470af7417\",\"type\":\"metric\",\"series\":[{\"id\":\"61ca57f1-469d-11e7-af02-69e470af7417\",\"color\":\"#68BC00\",\"split_mode\":\"filters\",\"palette\":{\"type\":\"palette\",\"name\":\"default\"},\"metrics\":[{\"id\":\"61ca57f2-469d-11e7-af02-69e470af7417\",\"type\":\"count\"}],\"separate_axis\":0,\"axis_position\":\"right\",\"formatter\":\"number\",\"chart_type\":\"line\",\"line_width\":1,\"point_size\":1,\"fill\":0.5,\"stacked\":\"none\",\"terms_field\":null,\"terms_order_by\":\"_key\",\"filter\":{\"query\":\"\",\"language\":\"kuery\"},\"split_filters\":[{\"filter\":{\"query\":\"value.bpmnElementType : \\\"PROCESS\\\" and intent : \\\"ELEMENT_TERMINATED\\\" and value.version : 3\",\"language\":\"kuery\"},\"label\":\"Failed/Cancelled Transactions\",\"color\":\"#68BC00\",\"id\":\"971242e0-8d71-11ec-bcff-f58c9e3b2a77\"}],\"label\":\"Count Of Failed/Cancelled Txns\",\"terms_direction\":\"desc\"}],\"time_field\":\"\",\"index_pattern\":\"\",\"use_kibana_indexes\":true,\"interval\":\"\",\"axis_position\":\"left\",\"axis_formatter\":\"number\",\"axis_scale\":\"normal\",\"show_legend\":1,\"show_grid\":1,\"tooltip_mode\":\"show_all\",\"background_color_rules\":[{\"id\":\"564d2540-8d71-11ec-bcff-f58c9e3b2a77\"}],\"isModelInvalid\":false,\"filter\":{\"query\":\"\",\"language\":\"kuery\"}}}"},"coreMigrationVersion":"7.13.2","id":"66e67450-8d72-11ec-92d2-2d974edf9929","migrationVersion":{"visualization":"7.13.1"},"references":[],"type":"visualization","updated_at":"2022-02-14T08:45:03.381Z","version":"WzkxOTQsMTZd"}
{"attributes":{"description":"","hits":0,"kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"language\":\"kuery\",\"query\":\"\"},\"filter\":[]}"},"optionsJSON":"{\"hidePanelTitles\":false,\"useMargins\":true}","panelsJSON":"[{\"version\":\"7.13.2\",\"type\":\"visualization\",\"gridData\":{\"x\":0,\"y\":0,\"w\":18,\"h\":7,\"i\":\"6fc4224e-00ad-4a0b-bc30-cdd7c8c26e68\"},\"panelIndex\":\"6fc4224e-00ad-4a0b-bc30-cdd7c8c26e68\",\"embeddableConfig\":{\"savedVis\":{\"title\":\"ProcessDefControl\",\"description\":\"\",\"type\":\"input_control_vis\",\"params\":{\"controls\":[{\"id\":\"1633536719626\",\"fieldName\":\"value.bpmnProcessId\",\"parent\":\"\",\"label\":\"ProcessDef\",\"type\":\"list\",\"options\":{\"type\":\"terms\",\"multiselect\":true,\"dynamicOptions\":true,\"size\":5,\"order\":\"desc\"},\"indexPatternRefName\":\"control_6fc4224e-00ad-4a0b-bc30-cdd7c8c26e68_0_index_pattern\"}],\"updateFiltersOnChange\":false,\"useTimeFilter\":false,\"pinFilters\":false},\"uiState\":{},\"data\":{\"aggs\":[],\"searchSource\":{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[]}}},\"enhancements\":{}}},{\"version\":\"7.13.2\",\"type\":\"visualization\",\"gridData\":{\"x\":18,\"y\":0,\"w\":29,\"h\":7,\"i\":\"2adee62e-ff39-4b27-899d-6acc933194f7\"},\"panelIndex\":\"2adee62e-ff39-4b27-899d-6acc933194f7\",\"embeddableConfig\":{\"vis\":{\"params\":{\"colWidth\":[{\"colIndex\":0,\"width\":364}]}},\"enhancements\":{}},\"panelRefName\":\"panel_2adee62e-ff39-4b27-899d-6acc933194f7\"},{\"version\":\"7.13.2\",\"type\":\"visualization\",\"gridData\":{\"x\":0,\"y\":7,\"w\":34,\"h\":12,\"i\":\"17035d4c-4ab4-4311-b7e9-6d60b8f532c3\"},\"panelIndex\":\"17035d4c-4ab4-4311-b7e9-6d60b8f532c3\",\"embeddableConfig\":{\"savedVis\":{\"title\":\"ProcessInstanceKeys\",\"description\":\"\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMetricsAtAllLevels\":false,\"showTotal\":false,\"showToolbar\":false,\"totalFunc\":\"sum\",\"percentageCol\":\"\"},\"uiState\":{},\"data\":{\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"params\":{},\"schema\":\"metric\"},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"params\":{\"field\":\"value.bpmnProcessId\",\"orderBy\":\"1\",\"order\":\"desc\",\"size\":1005,\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"customLabel\":\"ProcessDef\"},\"schema\":\"bucket\"},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"params\":{\"field\":\"value.processInstanceKey\",\"orderBy\":\"1\",\"order\":\"desc\",\"size\":5,\"otherBucket\":true,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"customLabel\":\"ProcessInstanceKey\"},\"schema\":\"bucket\"}],\"searchSource\":{\"index\":\"4e01ca10-26bc-11ec-95b3-cb627b5ccd4b\",\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[]}}},\"enhancements\":{}},\"panelRefName\":\"panel_17035d4c-4ab4-4311-b7e9-6d60b8f532c3\"},{\"version\":\"7.13.2\",\"type\":\"visualization\",\"gridData\":{\"x\":0,\"y\":19,\"w\":46,\"h\":12,\"i\":\"1a06ddb5-0b36-40e8-96be-7640d6d954b3\"},\"panelIndex\":\"1a06ddb5-0b36-40e8-96be-7640d6d954b3\",\"embeddableConfig\":{\"savedVis\":{\"title\":\"Process Variables\",\"description\":\"\",\"type\":\"table\",\"params\":{\"perPage\":20,\"showPartialRows\":false,\"showMetricsAtAllLevels\":false,\"showTotal\":false,\"showToolbar\":false,\"totalFunc\":\"sum\",\"percentageCol\":\"\"},\"uiState\":{},\"data\":{\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"params\":{},\"schema\":\"metric\"},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"params\":{\"field\":\"value.name\",\"orderBy\":\"1\",\"order\":\"desc\",\"size\":100,\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"customLabel\":\"variableName\"},\"schema\":\"bucket\"},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"params\":{\"field\":\"value.value\",\"orderBy\":\"1\",\"order\":\"desc\",\"size\":100,\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"customLabel\":\"variableValue\"},\"schema\":\"bucket\"}],\"searchSource\":{\"index\":\"4e01ca10-26bc-11ec-95b3-cb627b5ccd4b\",\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[]}}},\"vis\":{\"params\":{\"colWidth\":[{\"colIndex\":1,\"width\":1046.3333333333333},{\"colIndex\":0,\"width\":182}]}},\"table\":null,\"enhancements\":{}},\"panelRefName\":\"panel_1a06ddb5-0b36-40e8-96be-7640d6d954b3\"},{\"version\":\"7.13.2\",\"type\":\"visualization\",\"gridData\":{\"x\":0,\"y\":31,\"w\":19,\"h\":7,\"i\":\"162e25cc-3f99-48cd-ac26-c16f4c18bf6f\"},\"panelIndex\":\"162e25cc-3f99-48cd-ac26-c16f4c18bf6f\",\"embeddableConfig\":{\"enhancements\":{}},\"panelRefName\":\"panel_162e25cc-3f99-48cd-ac26-c16f4c18bf6f\"},{\"version\":\"7.13.2\",\"type\":\"visualization\",\"gridData\":{\"x\":19,\"y\":31,\"w\":28,\"h\":15,\"i\":\"38bca8ec-0692-433d-996b-1366b50ce5b2\"},\"panelIndex\":\"38bca8ec-0692-433d-996b-1366b50ce5b2\",\"embeddableConfig\":{\"enhancements\":{}},\"panelRefName\":\"panel_38bca8ec-0692-433d-996b-1366b50ce5b2\"},{\"version\":\"7.13.2\",\"type\":\"visualization\",\"gridData\":{\"x\":0,\"y\":46,\"w\":24,\"h\":15,\"i\":\"8fc4fc44-91d6-496a-af8f-444214d80872\"},\"panelIndex\":\"8fc4fc44-91d6-496a-af8f-444214d80872\",\"embeddableConfig\":{\"savedVis\":{\"title\":\"Vega Visualisation 1: Time taken for each task\",\"description\":\"\",\"type\":\"vega\",\"params\":{\"spec\":\"{\\n $schema: https://vega.github.io/schema/vega-lite/v5.json\\n title: Event counts from all indexes\\n data: {\\n url: {\\n index: _all\\n body: {\\n aggs: {\\n categories: {\\n terms: {\\n field: value.type\\n }\\n aggs: {\\n duration: {\\n scripted_metric: {\\n init_script: state.responses = ['start':0,'stop':0]\\n map_script: def intent = doc['intent'].value; def time = doc['timestamp'].value.getMillis(); if (intent.contains('COMPLETED')) { state.responses.stop += time;} else if(intent.contains('CREATED')) {state.responses.start += time;}\\n combine_script: state.responses\\n reduce_script: def diff = 0;for (responses in states) {diff = responses['stop'] - responses['start'];}return diff;\\n }\\n }\\n }\\n }\\n }\\n size: 0\\n query: {\\n bool: {\\n must: [\\n ]\\n filter: [\\n {\\n match_all: {\\n }\\n }\\n {\\n match_phrase: {\\n value.bpmnProcessId: mpesa-flow-v3-oaf\\n }\\n }\\n ]\\n should: [\\n ]\\n must_not: [\\n ]\\n }\\n }\\n }\\n }\\n format: {\\n property: aggregations.categories.buckets\\n }\\n }\\n mark: bar\\n encoding: {\\n x: {\\n field: duration.value\\n type: temporal\\n timeUnit: seconds\\n axis: {\\n title: \\\"Time taken in seconds \\\"\\n }\\n }\\n y: {\\n field: key\\n type: nominal\\n axis: {\\n title: Tasks\\n }\\n }\\n color: {\\n field: key\\n type: nominal\\n }\\n }\\n layer: [\\n {\\n mark: rect\\n encoding: {\\n color: {\\n field: duration.value\\n type: temporal\\n timeUnit: seconds\\n title: Time elapsed\\n legend: {\\n direction: horizontal\\n gradientLength: 120\\n }\\n }\\n }\\n }\\n ]\\n}\"},\"uiState\":{},\"data\":{\"aggs\":[],\"searchSource\":{\"query\":{\"language\":\"kuery\",\"query\":\"\"},\"filter\":[]}}},\"enhancements\":{}},\"panelRefName\":\"panel_8fc4fc44-91d6-496a-af8f-444214d80872\"},{\"version\":\"7.13.2\",\"type\":\"visualization\",\"gridData\":{\"x\":24,\"y\":46,\"w\":24,\"h\":15,\"i\":\"039d9f15-1fef-4e21-ab1d-cee335f2b337\"},\"panelIndex\":\"039d9f15-1fef-4e21-ab1d-cee335f2b337\",\"embeddableConfig\":{\"savedVis\":{\"title\":\"Vega Visualisation 2: All process with elapsed time per task\",\"description\":\"\",\"type\":\"vega\",\"params\":{\"spec\":\"{\\n $schema: https://vega.github.io/schema/vega-lite/v5.json\\n title: Event counts from all indexes\\n data: {\\n url: {\\n index: _all\\n body: {\\n aggs: {\\n categories: {\\n terms: {\\n field: value.processInstanceKey\\n }\\n aggs: {\\n duration: {\\n scripted_metric: {\\n init_script: state.responses = ['start':0,'stop':0]\\n map_script: def intent = doc['intent'].value; def time = doc['timestamp'].value.getMillis(); if (intent.contains('COMPLETED') && time > state.responses['stop']) { state.responses.stop = time;} else if(intent.contains('CREATED') && time < state.responses['start'] ) {state.responses.start = time;}\\n combine_script: state.responses\\n reduce_script: def diff = null;for (responses in states) {diff = responses['stop'] - responses['start'];}return diff;\\n }\\n }\\n }\\n }\\n }\\n size: 0\\n query: {\\n bool: {\\n must: [\\n ]\\n filter: [\\n {\\n match_all: {\\n }\\n }\\n {\\n match_phrase: {\\n value.bpmnProcessId: mpesa-flow-v3-oaf\\n }\\n }\\n ]\\n should: [\\n ]\\n must_not: [\\n ]\\n }\\n }\\n }\\n }\\n format: {\\n property: aggregations.categories.buckets\\n }\\n }\\n encoding: {\\n x: {\\n field: duration.value\\n type: temporal\\n timeUnit: seconds\\n axis: {\\n title: \\\"Time taken in miliseconds \\\"\\n }\\n }\\n y: {\\n field: key\\n type: nominal\\n axis: {\\n title: Process Instance\\n }\\n }\\n color: {\\n field: key\\n type: nominal\\n }\\n }\\n layer: [\\n {\\n mark: rect\\n encoding: {\\n color: {\\n field: duration.value\\n type: temporal\\n timeUnit: milliseconds\\n title: Time elapsed\\n legend: {\\n direction: horizontal\\n gradientLength: 120\\n }\\n }\\n }\\n }\\n {\\n mark: text\\n encoding: {\\n text: {\\n field: duration.value\\n type: temporal\\n timeUnit: seconds\\n }\\n color: {\\n condition: {\\n test: datum['duration.value'] > 120000\\n value: red\\n }\\n value: black\\n }\\n }\\n }\\n ]\\n config: {\\n axis: {\\n grid: true\\n tickBand: extent\\n }\\n }\\n}\"},\"uiState\":{},\"data\":{\"aggs\":[],\"searchSource\":{\"query\":{\"language\":\"kuery\",\"query\":\"\"},\"filter\":[]}}},\"enhancements\":{}}},{\"version\":\"7.13.2\",\"type\":\"visualization\",\"gridData\":{\"x\":0,\"y\":61,\"w\":24,\"h\":15,\"i\":\"5eed1959-b4a0-4cb9-80d8-16fb83199078\"},\"panelIndex\":\"5eed1959-b4a0-4cb9-80d8-16fb83199078\",\"embeddableConfig\":{\"enhancements\":{}},\"panelRefName\":\"panel_5eed1959-b4a0-4cb9-80d8-16fb83199078\"},{\"version\":\"7.13.2\",\"type\":\"visualization\",\"gridData\":{\"x\":24,\"y\":61,\"w\":24,\"h\":15,\"i\":\"65c8299f-8356-4ca6-b836-72ef3509769f\"},\"panelIndex\":\"65c8299f-8356-4ca6-b836-72ef3509769f\",\"embeddableConfig\":{\"savedVis\":{\"title\":\"Counts of Completed Txns\",\"description\":\"\",\"type\":\"metrics\",\"params\":{\"time_range_mode\":\"entire_time_range\",\"id\":\"61ca57f0-469d-11e7-af02-69e470af7417\",\"type\":\"metric\",\"series\":[{\"id\":\"61ca57f1-469d-11e7-af02-69e470af7417\",\"color\":\"#68BC00\",\"split_mode\":\"filters\",\"palette\":{\"type\":\"palette\",\"name\":\"default\"},\"metrics\":[{\"size\":1,\"agg_with\":\"noop\",\"order\":\"desc\",\"unit\":\"\",\"id\":\"61ca57f2-469d-11e7-af02-69e470af7417\",\"type\":\"count\",\"field\":null}],\"separate_axis\":0,\"axis_position\":\"right\",\"formatter\":\"number\",\"chart_type\":\"line\",\"line_width\":1,\"point_size\":1,\"fill\":0.5,\"stacked\":\"none\",\"label\":\"Count of events\",\"type\":\"timeseries\",\"filter\":{\"query\":\"\",\"language\":\"kuery\"},\"terms_order_by\":\"_key\",\"terms_field\":null,\"terms_direction\":\"desc\",\"terms_size\":\"30\",\"color_rules\":[{\"id\":\"0daa99e0-89ab-11ec-bcff-f58c9e3b2a77\"}],\"split_filters\":[{\"filter\":{\"query\":\"value.bpmnElementType : \\\"START_EVENT\\\" and intent : \\\"ELEMENT_COMPLETED\\\" \",\"language\":\"kuery\"},\"label\":\"Total Count Of Txns\",\"color\":\"#68BC00\",\"id\":\"470ed4d0-89ab-11ec-bcff-f58c9e3b2a77\"},{\"filter\":{\"query\":\"value.bpmnElementType : \\\"END_EVENT\\\" and value.elementId : \\\"End\\\" and intent : \\\"ELEMENT_COMPLETED\\\" \",\"language\":\"kuery\"},\"label\":\"End Event Failure Without notifications\",\"color\":\"#68BC00\",\"id\":\"aa8dbe10-89b3-11ec-bcff-f58c9e3b2a77\"},{\"filter\":{\"query\":\"value.bpmnElementType : \\\"END_EVENT\\\" and value.elementId : \\\"Event_1bh40y1\\\" and intent : \\\"ELEMENT_COMPLETED\\\" \",\"language\":\"kuery\"},\"label\":\"End Event Success Without notifications\",\"color\":\"#68BC00\",\"id\":\"3c52a310-89b4-11ec-bcff-f58c9e3b2a77\"},{\"filter\":{\"query\":\"value.bpmnElementType : \\\"END_EVENT\\\" and value.elementId : \\\"sucess\\\" and intent : \\\"ELEMENT_COMPLETED\\\" \",\"language\":\"kuery\"},\"label\":\"End Event Success With notifications\",\"color\":\"#68BC00\",\"id\":\"bcc962b0-8a89-11ec-bcff-f58c9e3b2a77\"},{\"filter\":{\"query\":\"value.bpmnElementType : \\\"END_EVENT\\\" and value.elementId : \\\"failure\\\" and intent : \\\"ELEMENT_COMPLETED\\\" \",\"language\":\"kuery\"},\"label\":\"End Event Failure With notifications\",\"color\":\"#68BC00\",\"id\":\"cbafa000-8a89-11ec-bcff-f58c9e3b2a77\"}]}],\"time_field\":\"\",\"index_pattern\":\"\",\"use_kibana_indexes\":true,\"interval\":\"\",\"axis_position\":\"left\",\"axis_formatter\":\"number\",\"axis_scale\":\"normal\",\"show_legend\":1,\"show_grid\":1,\"tooltip_mode\":\"show_all\",\"isModelInvalid\":false,\"background_color_rules\":[{\"id\":\"936d7d20-89a8-11ec-bcff-f58c9e3b2a77\"}],\"bar_color_rules\":[{\"id\":\"9645ca70-89a8-11ec-bcff-f58c9e3b2a77\"}],\"pivot_id\":\"value.processInstanceKey\",\"pivot_type\":\"number\"},\"uiState\":{},\"data\":{\"aggs\":[],\"searchSource\":{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[]}}},\"enhancements\":{}}},{\"version\":\"7.13.2\",\"type\":\"visualization\",\"gridData\":{\"x\":0,\"y\":76,\"w\":24,\"h\":15,\"i\":\"171816c1-0cfc-46b8-9d5c-5de061b51d12\"},\"panelIndex\":\"171816c1-0cfc-46b8-9d5c-5de061b51d12\",\"embeddableConfig\":{\"enhancements\":{}},\"panelRefName\":\"panel_171816c1-0cfc-46b8-9d5c-5de061b51d12\"}]","refreshInterval":{"pause":true,"value":0},"timeFrom":"now-1w","timeRestore":true,"timeTo":"now","title":"PHEE","version":1},"coreMigrationVersion":"7.13.2","id":"8bcc01c0-26bd-11ec-95b3-cb627b5ccd4b","migrationVersion":{"dashboard":"7.13.1"},"references":[{"id":"4e01ca10-26bc-11ec-95b3-cb627b5ccd4b","name":"6fc4224e-00ad-4a0b-bc30-cdd7c8c26e68:control_6fc4224e-00ad-4a0b-bc30-cdd7c8c26e68_0_index_pattern","type":"index-pattern"},{"id":"f21cb760-26bf-11ec-95b3-cb627b5ccd4b","name":"2adee62e-ff39-4b27-899d-6acc933194f7:panel_2adee62e-ff39-4b27-899d-6acc933194f7","type":"visualization"},{"id":"df1144f0-26c0-11ec-95b3-cb627b5ccd4b","name":"17035d4c-4ab4-4311-b7e9-6d60b8f532c3:panel_17035d4c-4ab4-4311-b7e9-6d60b8f532c3","type":"visualization"},{"id":"4e01ca10-26bc-11ec-95b3-cb627b5ccd4b","name":"17035d4c-4ab4-4311-b7e9-6d60b8f532c3:kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"},{"id":"8cf5f410-26c3-11ec-95b3-cb627b5ccd4b","name":"1a06ddb5-0b36-40e8-96be-7640d6d954b3:panel_1a06ddb5-0b36-40e8-96be-7640d6d954b3","type":"visualization"},{"id":"4e01ca10-26bc-11ec-95b3-cb627b5ccd4b","name":"1a06ddb5-0b36-40e8-96be-7640d6d954b3:kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"},{"id":"2b5132f0-26c4-11ec-95b3-cb627b5ccd4b","name":"162e25cc-3f99-48cd-ac26-c16f4c18bf6f:panel_162e25cc-3f99-48cd-ac26-c16f4c18bf6f","type":"visualization"},{"id":"cc282ac0-26c5-11ec-95b3-cb627b5ccd4b","name":"38bca8ec-0692-433d-996b-1366b50ce5b2:panel_38bca8ec-0692-433d-996b-1366b50ce5b2","type":"visualization"},{"id":"8b628a10-829d-11ec-94f2-7f85f327d8f2","name":"8fc4fc44-91d6-496a-af8f-444214d80872:panel_8fc4fc44-91d6-496a-af8f-444214d80872","type":"visualization"},{"id":"04748e40-7771-11ec-80b6-cdd557ff9b70","name":"5eed1959-b4a0-4cb9-80d8-16fb83199078:panel_5eed1959-b4a0-4cb9-80d8-16fb83199078","type":"visualization"},{"id":"66e67450-8d72-11ec-92d2-2d974edf9929","name":"171816c1-0cfc-46b8-9d5c-5de061b51d12:panel_171816c1-0cfc-46b8-9d5c-5de061b51d12","type":"visualization"}],"type":"dashboard","updated_at":"2022-02-14T08:45:33.341Z","version":"WzkyMTUsMTZd"}
{"exportedCount":10,"missingRefCount":0,"missingReferences":[]}