Index: /branches/amp_3_7/Makefile
===================================================================
--- /branches/amp_3_7/Makefile	(revision 2470)
+++ /branches/amp_3_7/Makefile	(working copy)
@@ -57,6 +57,7 @@
 	mv $(TOP)/system $(TOP)/all_in_one/
 	curl -O http://$(ResourceIp)/all_dep.tar.gz && tar zxvf all_dep.tar.gz && mv $(TOP)/all_dep $(TOP)/all_in_one/ && rm -rf all_dep.tar.gz
 	cp $(TOP)/scripts/install.sh $(TOP)/all_in_one/ && cp $(TOP)/scripts/uninstall_extensions.sh $(TOP)/all_in_one/
+	cp $(TOP)/conf/dashboard.ndjson $(TOP)/all_in_one/ && cp $(TOP)/scripts/import_kibana_dashboard.sh $(TOP)/all_in_one/
 	tar -zcvf all_in_one.tgz all_in_one
 
 imc:
Index: /branches/amp_3_7/amp.spec
===================================================================
--- /branches/amp_3_7/amp.spec	(revision 2470)
+++ /branches/amp_3_7/amp.spec	(working copy)
@@ -1,7 +1,7 @@
 Name:           amp
 Version:        3.7.0.0
 Release:        1%{?dist}
-Summary:        Array Management Platform 
+Summary:        Array Management Platform
 Group:          Development/Tools
 License:        LGPL
 URL:            www.arraynetworks.com
@@ -200,6 +200,8 @@
 install -Dm 0755 scripts/check_webui_root_user.py %{buildroot}/ca/bin/check_webui_root_user.py
 install -Dm 0755 scripts/check_crontab_add.py %{buildroot}/ca/bin/check_crontab_add.py
 install -Dm 0755 scripts/clean_oper_log.py %{buildroot}/ca/bin/clean_oper_log.py
+cp conf/dashboard.ndjson %{buildroot}/ca/bin/
+cp scripts/import_kibana_dashboard.sh %{buildroot}/ca/bin/
 cp lib/composer/composer-2.5.0.2.tgz %{buildroot}/ca/etc/
 
 %files
@@ -273,6 +275,8 @@
 %attr (755,root,root)/ca/bin/check_crontab_add.py
 %attr (755,root,root)/ca/bin/clean_oper_log.py
 %attr (755,root,root)/ca/etc/composer-2.5.0.2.tgz
+%attr (755,root,root)/ca/bin/dashboard.ndjson
+%attr (755,root,root)/ca/bin/import_kibana_dashboard.sh
 
 %define __debug_install_post   \
    %{_rpmconfigdir}/find-debuginfo.sh %{?_find_debuginfo_opts} "%{_builddir}/%{?buildsubdir}"\
@@ -281,3 +285,4 @@
 %changelog
 * Mon Jun 23 2014 Jarod.W <work.iec23801@gmail.com> - 1.0-1
 - init the spec.
+
Index: /branches/amp_3_7/conf/dashboard.ndjson
===================================================================
--- /branches/amp_3_7/conf/dashboard.ndjson	(revision 0)
+++ /branches/amp_3_7/conf/dashboard.ndjson	(working copy)
@@ -0,0 +1,15 @@
+{"attributes":{"fields":"[{\"name\":\"@timestamp\",\"type\":\"date\",\"esTypes\":[\"date\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"_id\",\"type\":\"string\",\"esTypes\":[\"_id\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":false},{\"name\":\"_index\",\"type\":\"string\",\"esTypes\":[\"_index\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":false},{\"name\":\"_score\",\"type\":\"number\",\"count\":0,\"scripted\":false,\"searchable\":false,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"_source\",\"type\":\"_source\",\"esTypes\":[\"_source\"],\"count\":0,\"scripted\":false,\"searchable\":false,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"_type\",\"type\":\"string\",\"esTypes\":[\"_type\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":false},{\"name\":\"adc.duration\",\"type\":\"number\",\"esTypes\":[\"float\"],\"count\":0,\"scripted\":false,\"searchable\":false,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.fw\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.httpmethod\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.httpstatuscode\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.id\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.message\",\"type\":\"string\",\"esTypes\":[\"text\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"adc.msg\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.pri\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.priority_code\",\"type\":\"number\",\"esTypes\":[\"float\"],\"count\":0,\"scripted\":false,\"searchable\":false,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.proto\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.requestlength\",\"type\":\"number\",\"esTypes\":[\"float\"],\"count\":0,\"scripted\":false,\"searchable\":false,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.serverip\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.src\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.ua_browser\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.ua_browser_chrome\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.ua_browser_edge\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.ua_browser_firefox\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.ua_browser_ie\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.ua_browser_major\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.ua_browser_minor\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.ua_browser_safari\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.ua_browser_version\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.ua_device\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.ua_os\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.ua_os_android\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.ua_os_ios\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.ua_os_mac\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.ua_os_major\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.ua_os_minor\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.ua_os_version\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.ua_os_windows\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.url\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"adc.useragent\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"measurement_name\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"tag.device_type\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"tag.facility\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"tag.header\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"tag.logid\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"tag.remote_ip\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"tag.severity\",\"type\":\"string\",\"esTypes\":[\"keyword\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true}]","timeFieldName":"@timestamp","title":"acm*"},"id":"9bf4dbd0-e091-11ef-9977-597551d5c839","migrationVersion":{"index-pattern":"6.5.0"},"references":[],"type":"index-pattern","updated_at":"2025-02-01T11:42:28.646Z","version":"WzksNDhd"}
+{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"},"title":"Total Records","uiStateJSON":"{}","version":1,"visState":"{\"title\":\"Total Records\",\"type\":\"metric\",\"params\":{\"metric\":{\"percentageMode\":false,\"useRanges\":false,\"colorSchema\":\"Green to Red\",\"metricColorMode\":\"None\",\"colorsRange\":[{\"type\":\"range\",\"from\":0,\"to\":10000}],\"labels\":{\"show\":true},\"invertColors\":false,\"style\":{\"bgFill\":\"#000\",\"bgColor\":false,\"labelColor\":false,\"subText\":\"\",\"fontSize\":60}},\"dimensions\":{\"metrics\":[{\"type\":\"vis_dimension\",\"accessor\":0,\"format\":{\"id\":\"number\",\"params\":{}}}]},\"addTooltip\":true,\"addLegend\":false,\"type\":\"metric\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{\"customLabel\":\"Total Records\"}}]}"},"id":"d6503250-e502-11ef-9977-597551d5c839","migrationVersion":{"visualization":"7.4.2"},"references":[{"id":"9bf4dbd0-e091-11ef-9977-597551d5c839","name":"kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"}],"type":"visualization","updated_at":"2025-02-07T03:23:02.005Z","version":"WzIwNiw0OF0="}
+{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"tag.device_type : \\\"vapv\\\" or tag.device_type : \\\"apv\\\" or tag.device_type : \\\"VAPV\\\" or tag.device_type : \\\"APV\\\"\",\"language\":\"kuery\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"},"title":"Number of Devices - APV","uiStateJSON":"{}","version":1,"visState":"{\"title\":\"Number of Devices - APV\",\"type\":\"metric\",\"params\":{\"metric\":{\"percentageMode\":false,\"useRanges\":false,\"colorSchema\":\"Green to Red\",\"metricColorMode\":\"None\",\"colorsRange\":[{\"type\":\"range\",\"from\":0,\"to\":10000}],\"labels\":{\"show\":true},\"invertColors\":false,\"style\":{\"bgFill\":\"#000\",\"bgColor\":false,\"labelColor\":false,\"subText\":\"\",\"fontSize\":60}},\"dimensions\":{\"metrics\":[{\"type\":\"vis_dimension\",\"accessor\":0,\"format\":{\"id\":\"number\",\"params\":{}}}]},\"addTooltip\":true,\"addLegend\":false,\"type\":\"metric\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"cardinality\",\"schema\":\"metric\",\"params\":{\"field\":\"tag.remote_ip\",\"customLabel\":\"APV\"}}]}"},"id":"04a350a0-e4ff-11ef-9977-597551d5c839","migrationVersion":{"visualization":"7.4.2"},"references":[{"id":"9bf4dbd0-e091-11ef-9977-597551d5c839","name":"kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"}],"type":"visualization","updated_at":"2025-02-07T04:35:30.770Z","version":"WzIyMSw0OF0="}
+{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"tag.device_type : \\\"vxag\\\" or tag.device_type : \\\"ag\\\" or tag.device_type : \\\"VXAG\\\" or tag.device_type : \\\"AG\\\"\",\"language\":\"kuery\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"},"title":"Number of Devices - AG","uiStateJSON":"{}","version":1,"visState":"{\"title\":\"Number of Devices - AG\",\"type\":\"metric\",\"params\":{\"metric\":{\"percentageMode\":false,\"useRanges\":false,\"colorSchema\":\"Green to Red\",\"metricColorMode\":\"None\",\"colorsRange\":[{\"type\":\"range\",\"from\":0,\"to\":10000}],\"labels\":{\"show\":true},\"invertColors\":false,\"style\":{\"bgFill\":\"#000\",\"bgColor\":false,\"labelColor\":false,\"subText\":\"\",\"fontSize\":60}},\"dimensions\":{\"metrics\":[{\"type\":\"vis_dimension\",\"accessor\":0,\"format\":{\"id\":\"number\",\"params\":{}}}]},\"addTooltip\":true,\"addLegend\":false,\"type\":\"metric\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"cardinality\",\"schema\":\"metric\",\"params\":{\"field\":\"tag.remote_ip\",\"customLabel\":\"AG\"}}]}"},"id":"80f2bd80-e4ff-11ef-9977-597551d5c839","migrationVersion":{"visualization":"7.4.2"},"references":[{"id":"9bf4dbd0-e091-11ef-9977-597551d5c839","name":"kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"}],"type":"visualization","updated_at":"2025-02-07T04:35:45.777Z","version":"WzIyMiw0OF0="}
+{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"tag.device_type : \\\"vasf\\\" or tag.device_type : \\\"asf\\\" or tag.device_type : \\\"VASF\\\" or tag.device_type : \\\"ASF\\\"\",\"language\":\"kuery\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"},"title":"Number of Devices - ASF","uiStateJSON":"{}","version":1,"visState":"{\"title\":\"Number of Devices - ASF\",\"type\":\"metric\",\"params\":{\"metric\":{\"percentageMode\":false,\"useRanges\":false,\"colorSchema\":\"Green to Red\",\"metricColorMode\":\"None\",\"colorsRange\":[{\"type\":\"range\",\"from\":0,\"to\":10000}],\"labels\":{\"show\":true},\"invertColors\":false,\"style\":{\"bgFill\":\"#000\",\"bgColor\":false,\"labelColor\":false,\"subText\":\"\",\"fontSize\":60}},\"dimensions\":{\"metrics\":[{\"type\":\"vis_dimension\",\"accessor\":0,\"format\":{\"id\":\"number\",\"params\":{}}}]},\"addTooltip\":true,\"addLegend\":false,\"type\":\"metric\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"cardinality\",\"schema\":\"metric\",\"params\":{\"field\":\"tag.remote_ip\",\"customLabel\":\"ASF\"}}]}"},"id":"45697fb0-e4ff-11ef-9977-597551d5c839","migrationVersion":{"visualization":"7.4.2"},"references":[{"id":"9bf4dbd0-e091-11ef-9977-597551d5c839","name":"kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"}],"type":"visualization","updated_at":"2025-02-07T04:35:57.790Z","version":"WzIyMyw0OF0="}
+{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"tag.severity : \\\"err\\\" \",\"language\":\"kuery\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"},"title":"Severity - Error - Records","uiStateJSON":"{}","version":1,"visState":"{\"title\":\"Severity - Error - Records\",\"type\":\"metric\",\"params\":{\"metric\":{\"percentageMode\":false,\"useRanges\":false,\"colorSchema\":\"Green to Red\",\"metricColorMode\":\"None\",\"colorsRange\":[{\"type\":\"range\",\"from\":0,\"to\":10000}],\"labels\":{\"show\":true},\"invertColors\":false,\"style\":{\"bgFill\":\"#000\",\"bgColor\":false,\"labelColor\":false,\"subText\":\"\",\"fontSize\":60}},\"dimensions\":{\"metrics\":[{\"type\":\"vis_dimension\",\"accessor\":0,\"format\":{\"id\":\"number\",\"params\":{}}}]},\"addTooltip\":true,\"addLegend\":false,\"type\":\"metric\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{\"customLabel\":\"Severity - Error\"}}]}"},"id":"0729d7a0-e503-11ef-9977-597551d5c839","migrationVersion":{"visualization":"7.4.2"},"references":[{"id":"9bf4dbd0-e091-11ef-9977-597551d5c839","name":"kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"}],"type":"visualization","updated_at":"2025-02-07T03:24:23.961Z","version":"WzIwOCw0OF0="}
+{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"},"title":"HTTP Status Code - Pie Chart","uiStateJSON":"{\"vis\":{\"legendOpen\":true}}","version":1,"visState":"{\"title\":\"HTTP Status Code - Pie Chart\",\"type\":\"pie\",\"params\":{\"type\":\"pie\",\"addTooltip\":true,\"addLegend\":true,\"legendPosition\":\"right\",\"isDonut\":true,\"labels\":{\"show\":false,\"values\":true,\"last_level\":true,\"truncate\":100},\"dimensions\":{\"metric\":{\"accessor\":1,\"format\":{\"id\":\"number\"},\"params\":{},\"aggType\":\"count\"},\"buckets\":[{\"accessor\":0,\"format\":{\"id\":\"terms\",\"params\":{\"id\":\"string\",\"otherBucketLabel\":\"Other\",\"missingBucketLabel\":\"Missing\"}},\"params\":{},\"aggType\":\"terms\"}]}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"segment\",\"params\":{\"field\":\"adc.httpstatuscode\",\"orderBy\":\"1\",\"order\":\"desc\",\"size\":5,\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"customLabel\":\"Status Code\"}}]}"},"id":"8f36ccd0-e44e-11ef-9977-597551d5c839","migrationVersion":{"visualization":"7.4.2"},"references":[{"id":"9bf4dbd0-e091-11ef-9977-597551d5c839","name":"kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"}],"type":"visualization","updated_at":"2025-02-06T05:52:33.309Z","version":"WzExOSw0OF0="}
+{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"},"title":"Top Protocol - Bar Chart","uiStateJSON":"{}","version":1,"visState":"{\"title\":\"Top Protocol - Bar Chart\",\"type\":\"horizontal_bar\",\"params\":{\"type\":\"histogram\",\"grid\":{\"categoryLines\":false},\"categoryAxes\":[{\"id\":\"CategoryAxis-1\",\"type\":\"category\",\"position\":\"left\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\"},\"labels\":{\"show\":true,\"rotate\":0,\"filter\":false,\"truncate\":200},\"title\":{}}],\"valueAxes\":[{\"id\":\"ValueAxis-1\",\"name\":\"LeftAxis-1\",\"type\":\"value\",\"position\":\"bottom\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\",\"mode\":\"normal\"},\"labels\":{\"show\":true,\"rotate\":75,\"filter\":true,\"truncate\":100},\"title\":{\"text\":\"Count\"}}],\"seriesParams\":[{\"show\":true,\"type\":\"histogram\",\"mode\":\"normal\",\"data\":{\"label\":\"Count\",\"id\":\"1\"},\"valueAxis\":\"ValueAxis-1\",\"drawLinesBetweenPoints\":true,\"lineWidth\":2,\"showCircles\":true}],\"addTooltip\":true,\"addLegend\":true,\"legendPosition\":\"right\",\"times\":[],\"addTimeMarker\":false,\"labels\":{},\"thresholdLine\":{\"show\":false,\"value\":10,\"width\":1,\"style\":\"full\",\"color\":\"#34130C\"},\"dimensions\":{\"x\":null,\"y\":[{\"accessor\":1,\"format\":{\"id\":\"number\"},\"params\":{},\"aggType\":\"count\"}],\"series\":[{\"accessor\":0,\"format\":{\"id\":\"terms\",\"params\":{\"id\":\"string\",\"otherBucketLabel\":\"Other\",\"missingBucketLabel\":\"Missing\"}},\"params\":{},\"aggType\":\"terms\"}]}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"group\",\"params\":{\"field\":\"adc.proto\",\"orderBy\":\"1\",\"order\":\"desc\",\"size\":5,\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"customLabel\":\"Protocol\"}}]}"},"id":"bd535f10-e47c-11ef-9977-597551d5c839","migrationVersion":{"visualization":"7.4.2"},"references":[{"id":"9bf4dbd0-e091-11ef-9977-597551d5c839","name":"kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"}],"type":"visualization","updated_at":"2025-02-06T11:23:07.521Z","version":"WzE0MCw0OF0="}
+{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"},"title":"Severity - Bar Chart","uiStateJSON":"{}","version":1,"visState":"{\"title\":\"Severity - Bar Chart\",\"type\":\"horizontal_bar\",\"params\":{\"type\":\"histogram\",\"grid\":{\"categoryLines\":false},\"categoryAxes\":[{\"id\":\"CategoryAxis-1\",\"type\":\"category\",\"position\":\"left\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\"},\"labels\":{\"show\":true,\"rotate\":0,\"filter\":false,\"truncate\":200},\"title\":{}}],\"valueAxes\":[{\"id\":\"ValueAxis-1\",\"name\":\"LeftAxis-1\",\"type\":\"value\",\"position\":\"bottom\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\",\"mode\":\"normal\"},\"labels\":{\"show\":true,\"rotate\":75,\"filter\":true,\"truncate\":100},\"title\":{\"text\":\"Number of Logs\"}}],\"seriesParams\":[{\"show\":true,\"type\":\"histogram\",\"mode\":\"normal\",\"data\":{\"label\":\"Number of Logs\",\"id\":\"1\"},\"valueAxis\":\"ValueAxis-1\",\"drawLinesBetweenPoints\":true,\"lineWidth\":2,\"showCircles\":true}],\"addTooltip\":true,\"addLegend\":true,\"legendPosition\":\"right\",\"times\":[],\"addTimeMarker\":false,\"labels\":{},\"thresholdLine\":{\"show\":false,\"value\":10,\"width\":1,\"style\":\"full\",\"color\":\"#34130C\"},\"dimensions\":{\"x\":null,\"y\":[{\"accessor\":1,\"format\":{\"id\":\"number\"},\"params\":{},\"aggType\":\"count\"}],\"series\":[{\"accessor\":0,\"format\":{\"id\":\"terms\",\"params\":{\"id\":\"string\",\"otherBucketLabel\":\"Other\",\"missingBucketLabel\":\"Missing\"}},\"params\":{},\"aggType\":\"terms\"}]}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{\"customLabel\":\"Number of Logs\"}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"group\",\"params\":{\"field\":\"tag.severity\",\"orderBy\":\"1\",\"order\":\"desc\",\"size\":7,\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"customLabel\":\"Severity\"}}]}"},"id":"8eb5b850-e482-11ef-9977-597551d5c839","migrationVersion":{"visualization":"7.4.2"},"references":[{"id":"9bf4dbd0-e091-11ef-9977-597551d5c839","name":"kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"}],"type":"visualization","updated_at":"2025-02-06T12:04:46.293Z","version":"WzE1Myw0OF0="}
+{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"},"title":"Top Source - Bar Chart","uiStateJSON":"{}","version":1,"visState":"{\"title\":\"Top Source - Bar Chart\",\"type\":\"horizontal_bar\",\"params\":{\"type\":\"histogram\",\"grid\":{\"categoryLines\":false},\"categoryAxes\":[{\"id\":\"CategoryAxis-1\",\"type\":\"category\",\"position\":\"left\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\"},\"labels\":{\"show\":true,\"rotate\":0,\"filter\":false,\"truncate\":200},\"title\":{}}],\"valueAxes\":[{\"id\":\"ValueAxis-1\",\"name\":\"LeftAxis-1\",\"type\":\"value\",\"position\":\"bottom\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\",\"mode\":\"normal\"},\"labels\":{\"show\":true,\"rotate\":75,\"filter\":true,\"truncate\":100},\"title\":{\"text\":\"Number of Hits\"}}],\"seriesParams\":[{\"show\":true,\"type\":\"histogram\",\"mode\":\"normal\",\"data\":{\"label\":\"Number of Hits\",\"id\":\"1\"},\"valueAxis\":\"ValueAxis-1\",\"drawLinesBetweenPoints\":true,\"lineWidth\":2,\"showCircles\":true,\"interpolate\":\"linear\"}],\"addTooltip\":true,\"addLegend\":true,\"legendPosition\":\"right\",\"times\":[],\"addTimeMarker\":false,\"labels\":{\"show\":true},\"thresholdLine\":{\"show\":false,\"value\":10,\"width\":1,\"style\":\"full\",\"color\":\"#34130C\"},\"dimensions\":{\"x\":null,\"y\":[{\"accessor\":1,\"format\":{\"id\":\"number\"},\"params\":{},\"aggType\":\"count\"}],\"series\":[{\"accessor\":0,\"format\":{\"id\":\"terms\",\"params\":{\"id\":\"string\",\"otherBucketLabel\":\"Other\",\"missingBucketLabel\":\"Missing\"}},\"params\":{},\"aggType\":\"terms\"}]},\"orderBucketsBySum\":true},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{\"customLabel\":\"Number of Hits\"}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"group\",\"params\":{\"field\":\"adc.src\",\"orderBy\":\"1\",\"order\":\"desc\",\"size\":5,\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"customLabel\":\"Source IP Address\"}}]}"},"id":"46ddb3f0-e461-11ef-9977-597551d5c839","migrationVersion":{"visualization":"7.4.2"},"references":[{"id":"9bf4dbd0-e091-11ef-9977-597551d5c839","name":"kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"}],"type":"visualization","updated_at":"2025-02-06T08:06:32.367Z","version":"WzEyNyw0OF0="}
+{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"},"title":"Top Destination - Bar Chart","uiStateJSON":"{}","version":1,"visState":"{\"title\":\"Top Destination - Bar Chart\",\"type\":\"horizontal_bar\",\"params\":{\"type\":\"histogram\",\"grid\":{\"categoryLines\":false},\"categoryAxes\":[{\"id\":\"CategoryAxis-1\",\"type\":\"category\",\"position\":\"left\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\"},\"labels\":{\"show\":true,\"rotate\":0,\"filter\":false,\"truncate\":200},\"title\":{}}],\"valueAxes\":[{\"id\":\"ValueAxis-1\",\"name\":\"LeftAxis-1\",\"type\":\"value\",\"position\":\"bottom\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\",\"mode\":\"normal\"},\"labels\":{\"show\":true,\"rotate\":75,\"filter\":true,\"truncate\":100},\"title\":{\"text\":\"Number of Hits\"}}],\"seriesParams\":[{\"show\":true,\"type\":\"histogram\",\"mode\":\"normal\",\"data\":{\"label\":\"Number of Hits\",\"id\":\"1\"},\"valueAxis\":\"ValueAxis-1\",\"drawLinesBetweenPoints\":true,\"lineWidth\":2,\"showCircles\":true}],\"addTooltip\":true,\"addLegend\":true,\"legendPosition\":\"right\",\"times\":[],\"addTimeMarker\":false,\"labels\":{},\"thresholdLine\":{\"show\":false,\"value\":10,\"width\":1,\"style\":\"full\",\"color\":\"#34130C\"},\"dimensions\":{\"x\":null,\"y\":[{\"accessor\":1,\"format\":{\"id\":\"number\"},\"params\":{},\"aggType\":\"count\"}],\"series\":[{\"accessor\":0,\"format\":{\"id\":\"terms\",\"params\":{\"id\":\"string\",\"otherBucketLabel\":\"Other\",\"missingBucketLabel\":\"Missing\"}},\"params\":{},\"aggType\":\"terms\"}]}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{\"customLabel\":\"Number of Hits\"}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"group\",\"params\":{\"field\":\"adc.serverip\",\"orderBy\":\"1\",\"order\":\"desc\",\"size\":5,\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"customLabel\":\"Destination IP Address\"}}]}"},"id":"c7102760-e461-11ef-9977-597551d5c839","migrationVersion":{"visualization":"7.4.2"},"references":[{"id":"9bf4dbd0-e091-11ef-9977-597551d5c839","name":"kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"}],"type":"visualization","updated_at":"2025-02-06T08:10:18.041Z","version":"WzEzMSw0OF0="}
+{"attributes":{"columns":["_source"],"description":"","hits":0,"kibanaSavedObjectMeta":{"searchSourceJSON":"{\"highlightAll\":true,\"version\":true,\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"},"sort":[["@timestamp","desc"]],"title":"Logs - Discover","version":1},"id":"deb99e10-e483-11ef-9977-597551d5c839","migrationVersion":{"search":"7.4.0"},"references":[{"id":"9bf4dbd0-e091-11ef-9977-597551d5c839","name":"kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"}],"type":"search","updated_at":"2025-02-06T12:14:10.033Z","version":"WzE2Nyw0OF0="}
+{"attributes":{"description":"","hits":0,"kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"language\":\"kuery\",\"query\":\"\"},\"filter\":[]}"},"optionsJSON":"{\"hidePanelTitles\":false,\"useMargins\":true}","panelsJSON":"[{\"version\":\"7.5.1\",\"gridData\":{\"x\":0,\"y\":0,\"w\":11,\"h\":6,\"i\":\"9395ce69-61ec-4fa5-bb67-89e6728f02a2\"},\"panelIndex\":\"9395ce69-61ec-4fa5-bb67-89e6728f02a2\",\"embeddableConfig\":{},\"panelRefName\":\"panel_0\"},{\"version\":\"7.5.1\",\"gridData\":{\"x\":11,\"y\":0,\"w\":9,\"h\":6,\"i\":\"8804a64a-b7e7-4513-b64c-561df94ad8dd\"},\"panelIndex\":\"8804a64a-b7e7-4513-b64c-561df94ad8dd\",\"embeddableConfig\":{},\"panelRefName\":\"panel_1\"},{\"version\":\"7.5.1\",\"gridData\":{\"x\":20,\"y\":0,\"w\":9,\"h\":6,\"i\":\"6a91c9c4-041a-4f5d-904c-53cabcb39c35\"},\"panelIndex\":\"6a91c9c4-041a-4f5d-904c-53cabcb39c35\",\"embeddableConfig\":{},\"panelRefName\":\"panel_2\"},{\"version\":\"7.5.1\",\"gridData\":{\"x\":29,\"y\":0,\"w\":9,\"h\":6,\"i\":\"89f0aa82-3edb-4fb7-9e60-6cf661fe2305\"},\"panelIndex\":\"89f0aa82-3edb-4fb7-9e60-6cf661fe2305\",\"embeddableConfig\":{},\"panelRefName\":\"panel_3\"},{\"version\":\"7.5.1\",\"gridData\":{\"x\":38,\"y\":0,\"w\":10,\"h\":6,\"i\":\"7428c6be-ac6c-440a-b4b0-8b9415acaae0\"},\"panelIndex\":\"7428c6be-ac6c-440a-b4b0-8b9415acaae0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_4\"},{\"version\":\"7.5.1\",\"gridData\":{\"x\":0,\"y\":6,\"w\":15,\"h\":14,\"i\":\"1dca87d2-8709-40c1-8950-3ba11abc9a1d\"},\"panelIndex\":\"1dca87d2-8709-40c1-8950-3ba11abc9a1d\",\"embeddableConfig\":{},\"panelRefName\":\"panel_5\"},{\"version\":\"7.5.1\",\"gridData\":{\"x\":15,\"y\":6,\"w\":16,\"h\":14,\"i\":\"2c75d33b-9959-4de7-bbaf-49038ffb1c46\"},\"panelIndex\":\"2c75d33b-9959-4de7-bbaf-49038ffb1c46\",\"embeddableConfig\":{},\"panelRefName\":\"panel_6\"},{\"version\":\"7.5.1\",\"gridData\":{\"x\":31,\"y\":6,\"w\":17,\"h\":14,\"i\":\"c9147b58-a4ab-473b-9cc9-f7fcc3b66496\"},\"panelIndex\":\"c9147b58-a4ab-473b-9cc9-f7fcc3b66496\",\"embeddableConfig\":{},\"panelRefName\":\"panel_7\"},{\"version\":\"7.5.1\",\"gridData\":{\"x\":0,\"y\":20,\"w\":24,\"h\":15,\"i\":\"a5c64c2a-bede-4722-b70e-91d961243e3a\"},\"panelIndex\":\"a5c64c2a-bede-4722-b70e-91d961243e3a\",\"embeddableConfig\":{},\"panelRefName\":\"panel_8\"},{\"version\":\"7.5.1\",\"gridData\":{\"x\":24,\"y\":20,\"w\":24,\"h\":15,\"i\":\"36caf438-c68b-49d6-90d6-6e820741842a\"},\"panelIndex\":\"36caf438-c68b-49d6-90d6-6e820741842a\",\"embeddableConfig\":{},\"panelRefName\":\"panel_9\"},{\"version\":\"7.5.1\",\"gridData\":{\"x\":0,\"y\":35,\"w\":48,\"h\":16,\"i\":\"a5718807-8fd7-4cb3-abe1-888faa52682c\"},\"panelIndex\":\"a5718807-8fd7-4cb3-abe1-888faa52682c\",\"embeddableConfig\":{},\"panelRefName\":\"panel_10\"}]","timeRestore":false,"title":"Dashboardv2","version":1},"id":"914dba90-e47d-11ef-9977-597551d5c839","migrationVersion":{"dashboard":"7.3.0"},"references":[{"id":"d6503250-e502-11ef-9977-597551d5c839","name":"panel_0","type":"visualization"},{"id":"04a350a0-e4ff-11ef-9977-597551d5c839","name":"panel_1","type":"visualization"},{"id":"80f2bd80-e4ff-11ef-9977-597551d5c839","name":"panel_2","type":"visualization"},{"id":"45697fb0-e4ff-11ef-9977-597551d5c839","name":"panel_3","type":"visualization"},{"id":"0729d7a0-e503-11ef-9977-597551d5c839","name":"panel_4","type":"visualization"},{"id":"8f36ccd0-e44e-11ef-9977-597551d5c839","name":"panel_5","type":"visualization"},{"id":"bd535f10-e47c-11ef-9977-597551d5c839","name":"panel_6","type":"visualization"},{"id":"8eb5b850-e482-11ef-9977-597551d5c839","name":"panel_7","type":"visualization"},{"id":"46ddb3f0-e461-11ef-9977-597551d5c839","name":"panel_8","type":"visualization"},{"id":"c7102760-e461-11ef-9977-597551d5c839","name":"panel_9","type":"visualization"},{"id":"deb99e10-e483-11ef-9977-597551d5c839","name":"panel_10","type":"search"}],"type":"dashboard","updated_at":"2025-02-07T03:26:40.335Z","version":"WzIxMCw0OF0="}
+{"exportedCount":13,"missingRefCount":0,"missingReferences":[]}
+

Property changes on: conf/dashboard.ndjson
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: /branches/amp_3_7/scripts/avxapps_startup.sh
===================================================================
--- /branches/amp_3_7/scripts/avxapps_startup.sh	(revision 2470)
+++ /branches/amp_3_7/scripts/avxapps_startup.sh	(working copy)
@@ -31,7 +31,7 @@
     else
         echo "anes has existed"
     fi
-    
+
     # create /export/mfg and /caupgrade/export/mfg
     [ ! -d /export/mfg ] && mkdir -p /export/mfg
     [ ! -d /caupgrade/export/mfg ] && mkdir -p /caupgrade/export/mfg
@@ -52,12 +52,12 @@
     mkdir -p /home/array
 
     mkdir -p /catmp/
-    
+
     systemctl enable NetworkManager
-    systemctl start NetworkManager 
+    systemctl start NetworkManager
     systemctl  stop firewalld
     systemctl disable firewalld
-            
+
     cp /ca/webui/conf/build_config.py /ca/bin/build_config.py
     #cp -r /ca/webui/exfiles/python/lib/* /usr/lib/python2.7/site-packages/
     rm -rf /ca/lighttpd
@@ -79,25 +79,25 @@
 
     grep '^anesltkx hard nofile 65536' /etc/security/limits.conf
     ret=$?
-    if [ $ret != 0 ] 
+    if [ $ret != 0 ]
     then
         echo "anesltkx hard nofile 65536" >> /etc/security/limits.conf
     fi
 
     grep '^anesltkx soft nofile 65536' /etc/security/limits.conf
     ret=$?
-    if [ $ret != 0 ] 
+    if [ $ret != 0 ]
     then
         echo "anesltkx soft nofile 65536" >> /etc/security/limits.conf
     fi
 
     grep '^vm.max_map_count=262144' /etc/sysctl.conf
     ret=$?
-    if [ $ret != 0 ] 
+    if [ $ret != 0 ]
     then
         echo "vm.max_map_count=262144" >> /etc/sysctl.conf
     fi
-    
+
 fi
 
 #mkdir -p /var/run/va/
@@ -147,7 +147,7 @@
         sed -i '38,41d' /ca/webui/htdocs/new/src/client/app/modules/main/profile.js
         sed -i '14,25d' /ca/webui/htdocs/new/src/client/app/modules/main/profile.js
         sed -i '6,8d' /ca/webui/htdocs/new/src/client/app/modules/main/profile.js
-        sed -i 's/amprepo.arraynetworks.com.cn/amprepo.arraynetworks.net/' /etc/yum.repos.d/array.repo 
+        sed -i 's/amprepo.arraynetworks.com.cn/amprepo.arraynetworks.net/' /etc/yum.repos.d/array.repo
         echo "done" >> /ca/etc/array
     fi
 else
@@ -164,14 +164,14 @@
 /bin/cp -rf /ca/webui/exfiles/python/lib/* /usr/lib/python2.7/site-packages/
 
 grep "listen_addresses = '\*'" /var/lib/pgsql/10/data/postgresql.conf
-if [ $? -eq 0 ] 
+if [ $? -eq 0 ]
 then
     sed -i "s/listen_addresses = '\*'/listen_addresses = 'localhost'/g" /var/lib/pgsql/10/data/postgresql.conf
     systemctl restart postgresql-10
 fi
 
 grep "network.host: 0.0.0.0" /etc/elasticsearch/elasticsearch.yml
-if [ $? -eq 0 ] 
+if [ $? -eq 0 ]
 then
     sed -i "s/network.host: 0.0.0.0/network.host: 127.0.0.1/g" /etc/elasticsearch/elasticsearch.yml
     count=`ps -ef | grep elasticsearch | grep -v 'grep' | grep '/usr/share/elasticsearch/jdk/bin/java' | wc -l`
@@ -212,10 +212,12 @@
 fi
 
 #check whether webui root user exists, if not exist, add one
-#how to add one? 
+#how to add one?
 #if account admin/admin not exist, add it and make it as root user
 #if account admin/admin exists, make it as root user
 /usr/bin/python /ca/bin/check_webui_root_user.py
 
 #add crontab
 /usr/bin/python /ca/bin/check_crontab_add.py
+
+
Index: /branches/amp_3_7/scripts/import_kibana_dashboard.sh
===================================================================
--- /branches/amp_3_7/scripts/import_kibana_dashboard.sh	(revision 0)
+++ /branches/amp_3_7/scripts/import_kibana_dashboard.sh	(working copy)
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+# Configuration
+KIBANA_URL="http://localhost:5601"
+DASHBOARD_FILE="/ca/bin/dashboard.ndjson"
+
+# Check if the dashboard file exists
+if [ ! -f "$DASHBOARD_FILE" ]; then
+  echo "Error: File '$DASHBOARD_FILE' not found!"
+  exit 1
+fi
+
+# Import the dashboard
+RESPONSE=$(curl -s -o /dev/null -w "%{http_code}" -X POST "$KIBANA_URL/api/saved_objects/_import" \
+  -H "kbn-xsrf: true" \
+  -H "Content-Type: multipart/form-data" \
+  --form file=@"$DASHBOARD_FILE")
+
+# Check response status
+if [ "$RESPONSE" -eq 200 ]; then
+  echo "Dashboard successfully imported into Kibana."
+else
+  echo "Error: Failed to import dashboard. HTTP Status: $RESPONSE"
+  exit 1
+fi
+

Property changes on: scripts/import_kibana_dashboard.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
