Fix opensearch total documents automonitorization

This commit is contained in:
Calvo 2023-12-14 11:40:26 +01:00
parent 0ed2a6f946
commit 036425ddda
2 changed files with 2 additions and 2 deletions

View File

@ -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');

View File

@ -193,7 +193,7 @@
<?php echo __('Stored data'); ?>
</div>
<?php echo $LogStorage->getStoredData(); ?>
<span class="indicative-text"><?php echo __('Lines'); ?></span>
<span class="indicative-text"><?php echo __('Documents'); ?></span>
</div>
<div class="col-6">
<div class="subtitle">