Fix opensearch total documents automonitorization
This commit is contained in:
parent
0ed2a6f946
commit
036425ddda
|
@ -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');
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue