Hey Werner,
yes all metric types except counters have to be numeric. For counters the
value is clear, Graphite adds +1 to the current value. All other metric
types depend on the actual field value. That means the plugin takes the
numeric value of a field and updates that specific metric with the number.
Therefore other field types are not possible.

Using a message field multiple times is a little bit complicated because
the same name with different types is not allowed by the underlying
library. But I think this a totally valuable feature so I implemented an
optional name extension.

In version 1.1.4 you can check an option to extend the metric name by the
metric type, e.g 'took_ms' becomes 'took_ms.gauge' or 'took_ms.meter'.
With this you can create different metric types based on the same field
value.

But this could mean that you have to delete old data in Graphite. If there
is already a metric called 'took_ms' you can't create a sub-folder at that
point.

Cheers,
Marius


On 6 November 2015 at 00:00, Werner van der Merwe <[email protected]>
wrote:

> Apologies, should have mentioned I only have one numeric field which I am
> using in the histogram and seems I can't re-use the field for another
> function.
>
> --
> 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/9905ba29-af96-4eac-ab7a-5803cdd3f802%40googlegroups.com
> <https://groups.google.com/d/msgid/graylog2/9905ba29-af96-4eac-ab7a-5803cdd3f802%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Developer

Tel.: +49 (0)40 609 452 077
Fax.: +49 (0)40 609 452 078

TORCH GmbH - A Graylog Company
Steckelhörn 11
20457 Hamburg
Germany

https://www.graylog.com <https://www.torch.sh/>

Commercial Reg. (Registergericht): Amtsgericht Hamburg, HRB 125175
Geschäftsführer: Lennart Koopmann (CEO)

-- 
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/CAMqbBb%2BPrjv_8bWGakuoipiRqxaoP7LRyi_zLmHfriq6F%2B5cJw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to