Grok regex with or

The ruby filter is documented here. Examples of using scan in a ruby filter can be found here and here.