change log type
diff --git a/nginx/files/heka.toml b/nginx/files/heka.toml
index 1e09651..106d4a0 100644
--- a/nginx/files/heka.toml
+++ b/nginx/files/heka.toml
@@ -42,7 +42,9 @@
 filename = "lua_decoders/nginx_error.lua"
 
 [Sandbox_nginx_access.config]
-type = "combined"
+type = "nginx_combined"
 user_agent_transform = true
 log_format = '$remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"'
 
+[Sandbox_nginx_error.config]
+type = "nginx_error"