Hello,
Can someone help me in rounding up double value in a pipeline rule?
The double value come out like 128.99017333984375 and i just need to see something link 128.99
Thank you
Mohamed
Hello,
Can someone help me in rounding up double value in a pipeline rule?
The double value come out like 128.99017333984375 and i just need to see something link 128.99
Thank you
Mohamed
Although not perfect, you can always convert the number string to a substring:
http://docs.graylog.org/en/2.4/pages/pipelines/functions.html#substring
and then convert that substring to a double:
http://docs.graylog.org/en/2.4/pages/pipelines/functions.html#to-double
@Fl4m3Ph03n1x
Thank you so much. Easy solution that will do the trick…
Mohamed
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.