To be honest I'm not sure if it is an actual error or some misunderstanding of 
how it works, as it is tricky. I will explain it here a bit more in depth, so 
you can investigate further, and decide if it is working or not.

When you add a count widget for the last 5 minutes, Graylog will do a search in 
the last 5 minutes and count the number of messages. Adding a trend to that 
widget means that Graylog will do two searches: one in the last 5 minutes for 
the actual number you want to see, and another one in the previous 5 minutes 
that is, since 10 minutes ago to 5 minutes ago, and compare the results to show 
the trend information.

So, in summary, to see if it is working as expected, you could do a search in 
the last 10 minutes, subtract the count for the last 5 minutes, and see if the 
previous count was higher or lower. Please let us know the results, so we know 
if there is a problem with it.

Cheers,

Edmundo

> On 18 Sep 2015, at 15:39, Stanislav Kopp <[email protected]> wrote:
> 
> Hi Edmundo,
> 
> thx, I will try upgrade graylog to 1.2 next week (I wanted to wait
> till 1.2.1 honestly), here some screenshot of my dasboard
> http://imgur.com/a/l0t02, the widget shows count of specific errors
> every 5 minutes (so less is better). here is "4", 5 minutes before it
> was "1", so if I understood correctly the arrow should be red
> (pointing up).
> 
> Best,
> Stan
> 
> 2015-09-18 14:21 GMT+02:00 Edmundo Alvarez <[email protected]>:
>> Hi Stanislav,
>> 
>> The "lower is better" option changes the used colour for arrows indicating 
>> the trend. With that option enabled, arrows pointing down will be in green, 
>> and arrows pointing up in red. I am not aware of any issues with that 
>> feature, at least seems to be working in 1.2.0. Could you please upgrade to 
>> 1.2.0 and see if the problem disappears?
>> 
>> In other case, please attach an screenshot of the problem, and the 
>> configuration of the widget (you get it by clicking on the info button on 
>> the bottom-right corner of the widget).
>> 
>> Regards,
>> 
>> Edmundo
>> 
>>> On 17 Sep 2015, at 18:18, Stanislav Kopp <[email protected]> wrote:
>>> 
>>> Hi all,
>>> 
>>> I have a question about trends in dashboard, I've activated trend for 
>>> simple logs counter with option "Lower is better", but no matter if number 
>>> of logs is lower or higher, it always remains "green". Did I misunderstood 
>>> this feature or it is something wrong with my setup?
>>> 
>>> I'm using Graylog 1.1.4
>>> 
>>> Thanks,
>>> Stan
>>> 
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "Graylog Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/graylog2/c186a534-3577-4455-9a5c-5c4876a75fb0%40googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>> 
>> --
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Graylog Users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/graylog2/rgagiaf8MgM/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/graylog2/3FF40F9E-94B6-4586-9C93-3CA575A83222%40graylog.com.
>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Graylog Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/graylog2/CAFddgf3detsBhXPFuSKsd0GODRDsZx3BnzsVG-0ya0kMVJ7%2Bdg%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/91D1468D-4951-4BBA-8E11-221879F811E3%40graylog.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to