Update configuration.md

It's not immediately obvious how to write a conditional that checks for the presence of a field in an event. With the help of the kind folks on #logstash, I learnt this was possible. This pull request adds an example of this conditional to the docs.