Codec => rubydebug = required in production environment?

Once the configuration and stable,

Do we still need this in the config ?

stdout {
codec => rubydebug
}

Hope this going to consume resources and space in large log environment ?

No, that is typically only used for troubleshooting.