Histogram issues with number fields
Posted: Wed Aug 16, 2017 5:13 pm
I am parsing syslog data from an ASA to monitor VPN.
I've updated the plugin from https://exchange.nagios.org/directory/A ... ng/details to match my filtering.
I've got most of it working but I can't get histograms of transmit / receive to work.
At first I was getting a casting exception that was giving me a full error of the two types, unfortunately I didn't save that.
I tried mutating and that didn't work, tried mutating to a new field and got the same.
So then I tried adding an elasticsearch script to the dashboard xml, which got rid of the casting error but left me with:
FacetPhaseExecutionException[Facet[0]: [interval] is required to be set for histogram facet
The query that generated that error is attached. After that I tried modifying my grok pattern to be set for type int. Now I'm seeing ClassCastException with no additional detail.
Also attached is the current dashboard json. This is for a POV so any help is greatly appreciated.
I've updated the plugin from https://exchange.nagios.org/directory/A ... ng/details to match my filtering.
I've got most of it working but I can't get histograms of transmit / receive to work.
At first I was getting a casting exception that was giving me a full error of the two types, unfortunately I didn't save that.
I tried mutating and that didn't work, tried mutating to a new field and got the same.
So then I tried adding an elasticsearch script to the dashboard xml, which got rid of the casting error but left me with:
FacetPhaseExecutionException[Facet[0]: [interval] is required to be set for histogram facet
The query that generated that error is attached. After that I tried modifying my grok pattern to be set for type int. Now I'm seeing ClassCastException with no additional detail.
Also attached is the current dashboard json. This is for a POV so any help is greatly appreciated.