Grok fields are not visible in kibana

I'm bit new to grok and ELK

Could you please explain me how to use > stdout { codec => rubydebug }

should it be in the logstash.conf file or any where else. Please help