How to call python script from Logstash to process (partialy) logs

It seems the code content in the link provided by you is not working now.

I tried using event[] syntax in ruby and it failed. I think the method to read & Store the events from outside ruby code has changed. Any idea how to access the events from the message ?

-Sunil