Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Hello World example of python script? #2
I have trouble putting the filter to work.
And my logstash config:
This should send the event to the script and get the same event in return, but I got the following message:
What do I miss?
EDIT: Forgot to mention... I am using logstash 1.4.2 on fedora20
my python script:
And the output.
Logstash still complains like this:
If we can figure it out I will add an example to the README. Should prevent others from wondering. :)
I got the same result with a ruby script I found here: http://blog.lusis.org/blog/2012/02/08/zeromq-and-logstash-part-2/
This look like a bug to me on our side. :(
I've looked at the
def overwrite(event) # pickup new event @data and also pickup @accessors # otherwise it will be pointing on previous data @data = event.instance_variable_get(:@data) @accessors = event.instance_variable_get(:@accessors) #convert timestamp if it is a String if @data[TIMESTAMP].is_a?(String) @data[TIMESTAMP] = LogStash::Time.parse_iso8601(@data[TIMESTAMP]) end end
referenced this issue
Apr 16, 2015
No I signed it 7 days ago when I notified you.
The first time I signed was with my firstname.lastname@example.org account. then when you notified me that you needed it form trendmicro, I signed it again (7 days ago) with my corporate email account.
Let me do it one more time just to make sure.
Hey there... How about this issue? I updated to logstash-2.1 and still got the error.