diff --git a/database/elasticsearch/restapi/mode/nodestatistics.pm b/database/elasticsearch/restapi/mode/nodestatistics.pm index d888e4b3d..14dc382c3 100644 --- a/database/elasticsearch/restapi/mode/nodestatistics.pm +++ b/database/elasticsearch/restapi/mode/nodestatistics.pm @@ -116,7 +116,7 @@ sub manage_selection { foreach my $node (keys %{$nodes_stats->{nodes}}) { if (defined($self->{option_results}->{filter_name}) && $self->{option_results}->{filter_name} ne '' && $node !~ /$self->{option_results}->{filter_name}/) { - $self->{output}->output_add(long_msg => "skipping '" . $indice . "': no matching filter.", debug => 1); + $self->{output}->output_add(long_msg => "skipping '" . $node . "': no matching filter.", debug => 1); next; }