diff --git a/src/output-json-http.c b/src/output-json-http.c index 339adf833a..f0649b3fc0 100644 --- a/src/output-json-http.c +++ b/src/output-json-http.c @@ -89,7 +89,7 @@ static void JsonHttpLogJSON(JsonHttpLogThread *aft, json_t *js, htp_tx_t *tx) SCFree(c); } } else { - json_object_set_new(hjs, "hostname", json_string("")); + json_object_set_new(hjs, "hostname", json_string("")); } /* uri */ @@ -114,7 +114,7 @@ static void JsonHttpLogJSON(JsonHttpLogThread *aft, json_t *js, htp_tx_t *tx) SCFree(c); } } else { - json_object_set_new(hjs, "http_user_agent", json_string("")); + json_object_set_new(hjs, "http_user_agent", json_string("unknown>")); } /* x-forwarded-for */