To match those inject messages, you'd need the following message matchers
(respectively, line-by-line):

message_matcher = "Payload == 'event' && Type == 'event' && Severity == 1"
message_matcher = "Payload == 'event' && Type == 'event' && Severity == 1"
message_matcher = "Type == 'event'"
message_matcher = "Payload == 'event'"

Also, since you don't specify a hekad instance for heka-inject, you'll need
a local hekad instance running with a TcpInput using ProtobufDecoder.
--
Robison Jacka / OpsEng / Weebly

On Tue, Feb 2, 2016 at 10:52 AM, Scot <[email protected]> wrote:

> Hi,
>
>  New user to Heka, I am trying to test a new HttpOutput.
>
> On Openstack Kilo and LMA .7  and heka .9
>
> I have tried all sorts of options but get nothing but silence.
>
> /usr/bin/heka-inject   -payload="event" -type="event"  -severity="1"
> /usr/bin/heka-inject   -payload="event" -type="event"  -severity="1"
> /usr/bin/heka-inject   -type="event"
> /usr/bin/heka-inject   -payload="event"
>
> root@fail#
>
> message_matcher = "Fields[payload_type] == 'json' && Fields[payload_name]
> == 'event'"
>
> _______________________________________________
> 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