grok whitespace strip not working

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
gsl_ops_practice
Posts: 151
Joined: Thu Apr 09, 2015 9:14 pm

Re: grok whitespace strip not working

Post by gsl_ops_practice »

Hello,

In the end I had to add the following for all the fields I need:

Code: Select all

  mutate {
    convert => { "fieldname1" => "integer" }
    convert => { "fieldname2" => "integer" }
    convert => { "fieldname3" => "integer" }
    convert => { "fieldname4" => "integer" }
  }
to the filter and then delete all the indexes.

Now I am able to get the values displayed over time in the histogram and create monitoring queries for NagiosXI as well.

Thank you for your support, please consider this issue resolved.

Thanks,
Alex
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: grok whitespace strip not working

Post by mcapra »

gsl_ops_practice wrote: the histogram
Ah, makes sense. Histograms don't work so well with strings. Thanks for sharing your findings!
Former Nagios employee
https://www.mcapra.com/
Locked