Rspec Testing for grok pattern filers in Logstash configuration

I am new to ELK, Is there any one who has experience with testing of Logstash config with rspec...please let me know, it would be a great help...Thank you

If you want to test your Logstash configuration files I think you'll find Logstash Filter Verifier more useful that writing rspec-based tests (being the author of said tool I'm obviously biased).