Logstash if statement for program

thanks alot
the if statement works fine there is something seriusly worng and i cant tshoot it alone
i will appreciate if you could check this post out