Add RFC5424 type and support query string from cli arg