I'm trying to add "type" field that i would be able to use as tag when filtering to my input plugin.
For example, I can add "type" in the 'file' input plugin, and filter it later.
Code:
It sounds like your input plugin doesn't call decorate() on the event object before passing it to the output queue, but since you're not showing us your code we can only guess.
Thank you for the answer magnus, And you are correct, i do not call decorate because it crashes for some reason every time i call it.
This is the error:
[LogStash::Runner] FATAL logstash.runner - An unexpected error occurred! {:error=>#<NoMethodError: undefined method decorate for #<QueryExecuter:0xabb6bd>>,
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.