tmostyn
(Tom)
February 16, 2018, 7:42pm
1
Using Graylog v2.4.3+2c41897 and Metricbeat v5.6.7. I’d like to create an alert based on percentage of filesystem used. But this is a scaled float in Metricbeat and is reported as a value from 0-1. However, the Threshold value in Field Aggregation Alert condition only allows integer values.
Thanks in advance,
Tom
jochen
(Jochen)
February 17, 2018, 1:06pm
2
The Field Aggregation condition should be able to handle floating point numbers.
If it’s not possible to configure these in the web interface, please create a bug report at https://github.com/Graylog2/graylog2-server/issues .
/**
* This file is part of Graylog.
*
* Graylog is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Graylog is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Graylog. If not, see <http://www.gnu.org/licenses/>.
*/
package org.graylog2.alerts.types;
import com.google.common.collect.Lists;
import com.google.inject.assistedinject.Assisted;
This file has been truncated. show original
tmostyn
(Tom)
February 17, 2018, 4:42pm
3
Thank you jochen. I will create an issue.
Tom
jochen
(Jochen)
February 18, 2018, 10:43am
4
system
(system)
Closed
March 4, 2018, 10:44am
5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.