From 036425dddab54e7170b3f962cae6b01faf3d7a2f Mon Sep 17 00:00:00 2001 From: Calvo Date: Thu, 14 Dec 2023 11:40:26 +0100 Subject: [PATCH] Fix opensearch total documents automonitorization --- .../include/lib/TacticalView/elements/LogStorage.php | 2 +- pandora_console/views/tacticalView/view.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/lib/TacticalView/elements/LogStorage.php b/pandora_console/include/lib/TacticalView/elements/LogStorage.php index 427b3c93c6..6ff1276394 100644 --- a/pandora_console/include/lib/TacticalView/elements/LogStorage.php +++ b/pandora_console/include/lib/TacticalView/elements/LogStorage.php @@ -170,7 +170,7 @@ class LogStorage extends Element public function getStoredData():string { if ($this->isEnabled() === true) { - $data = $this->valueMonitoring('Total lines of data'); + $data = $this->valueMonitoring('Total documents'); $value = format_numeric($data[0]['datos']); } else { $value = __('N/A'); diff --git a/pandora_console/views/tacticalView/view.php b/pandora_console/views/tacticalView/view.php index 29b1c923fc..ae3eb3cc86 100644 --- a/pandora_console/views/tacticalView/view.php +++ b/pandora_console/views/tacticalView/view.php @@ -193,7 +193,7 @@ getStoredData(); ?> - +