My use case is simple: I want to send out only part of metrics.
My list of metrics is quite large to be typed as a message matcher (hundreds 
and thousands total with dozens and hundreds of matches).

Looks like I’ll iterate over the metrics as you suggest — I’m doing something 
like that anyway for conversion purposes.


Thanks,
Timur

On 13 Mar 2016 at 21:34:03, Michael Trinkala ([email protected]) wrote:

All field names are treated as literals so no it is not possible.  Within the 
plugin you could iterate all fields implementing your own matching function but 
that is still sub optimal.  I would probably look into altering your message 
structure to better match the consumption use case.

Trink

On Sun, Mar 13, 2016 at 7:08 AM, Timur Batyrshin <[email protected]> wrote:
Hi all,

I’ve been looking for a way to specify regexp in left part of the message 
matcher (example: Fields[foo_.*] != NIL).
I could find a way to do that by checking the docs.

Could you confirm that I can’t do that or I just missed the doc page?


Thanks,
Timur

_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka


_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka

Reply via email to