Hi,
We are monitoring apache 404 and 500 error's using apachelogreader plugin in EPAgent
live data is showing the url that has the error.But while trying to get the historical data its showing no data for StringEvent for both 404's and 500's where as IntAverage is fine.
EM version is 9.0.0.0.
Can some one please help me on this.
apacheLogReader.cfg
METRICS = [
{
match => ' 404 ',
metricType => 'IntAverage',
metricName => 'ErrorCount_404_PageNotFound',
metricValue => '$CURRENTCOUNT'
},
{
match => '(.*\s404\s.*)',
metricType => 'StringEvent',
metricName => 'ErrorText_404_PageNotFound',
metricValue => '$1'
},
{
match => ' 500 ',
metricType => 'IntAverage',
metricName => 'ErrorCount_500_ServerConfiguration',
metricValue => '$CURRENTCOUNT'
},
{
match => '(.*\s500\s.*)',
metricType => 'StringEvent',
metricName => 'ErrorText_500_ServerConfiguration',
metricValue => '$1'
},