added api for views: host to lognum, severity to lognum and host to sev to lognum