ArgumentError error="message does not exist" in Fluentd

522 views
Skip to first unread message

ashlesh mandke

unread,
Apr 10, 2020, 4:50:48 AM4/10/20
to Fluentd Google Group
Hi Team,

I am getting below error :-
[warn]: #0 dump an error event: error_class=ArgumentError error="message does not exist"
I also cleared my current index and executed the fluentd script but its still rejecting records and giving out "[warn]: #0 dump an error event: error_class=ArgumentError error="message does not exist"" error.

Ideally, what should be the key_name value I had given message (docs suggest it should be name of the field to be parsed, I gave a unique field name "id" but it seems to give out same error)
For almost 2.5 years this never give an issue and no suddenly its giving out error.

Our data also has json fields c&d and they are defined as text in kibana template.
Please find attached sample of my fluentd script:


Please help ;)
fluentd.txt

Mr. Fiber

unread,
Apr 16, 2020, 7:50:47 AM4/16/20
to Fluentd Google Group
> [warn]: #0 dump an error event: error_class=ArgumentError error="message does not exist


This error when your emitted record doesn't have 'message' field.
If you can reproduce the problem, you can put filter_stdout before filter_parser to check incoming events.

--
You received this message because you are subscribed to the Google Groups "Fluentd Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fluentd/a032c790-ee53-4764-a9ed-8d8346ff368b%40googlegroups.com.

Vaishali Tyagi

unread,
Jun 9, 2020, 6:00:01 AM6/9/20
to Fluentd Google Group
We tried this filter_stdout before filter_parser but it is showing all the records. We even tried to resolve it with each record but none of them worked. Also we used ignore_key_exist parameter but it worked just for few days and again we are getting the same error. Can you please help us with key_name which can be used 
when none of the logs have any common /default value.


On Thursday, 16 April 2020 17:20:47 UTC+5:30, repeatedly wrote:
> [warn]: #0 dump an error event: error_class=ArgumentError error="message does not exist


This error when your emitted record doesn't have 'message' field.
If you can reproduce the problem, you can put filter_stdout before filter_parser to check incoming events.

On Fri, Apr 10, 2020 at 5:50 PM ashlesh mandke <ashlesh...@gmail.com> wrote:
Hi Team,

I am getting below error :-
[warn]: #0 dump an error event: error_class=ArgumentError error="message does not exist"
I also cleared my current index and executed the fluentd script but its still rejecting records and giving out "[warn]: #0 dump an error event: error_class=ArgumentError error="message does not exist"" error.

Ideally, what should be the key_name value I had given message (docs suggest it should be name of the field to be parsed, I gave a unique field name "id" but it seems to give out same error)
For almost 2.5 years this never give an issue and no suddenly its giving out error.

Our data also has json fields c&d and they are defined as text in kibana template.
Please find attached sample of my fluentd script:


Please help ;)

--
You received this message because you are subscribed to the Google Groups "Fluentd Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flu...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages