diff --git a/src/Elmah.Common/Logs$/ErrorLogFilterHelper.cs b/src/Elmah.Common/Logs$/ErrorLogFilterHelper.cs index 1aa48f6..71633ad 100644 --- a/src/Elmah.Common/Logs$/ErrorLogFilterHelper.cs +++ b/src/Elmah.Common/Logs$/ErrorLogFilterHelper.cs @@ -106,7 +106,8 @@ private static bool Check(ErrorLogEntry entry, ErrorLogFilter filter, T value { "status-code", e => e.Error.StatusCode.ToString() }, { "type", e => e.Error.Type }, { "url", e => e.Error.ServerVariables["PathBase"] + e.Error.ServerVariables["Path"] }, - { "user", e => e.Error.User } + { "user", e => e.Error.User }, + { "hostName", e => e.Error.HostName } }; private static readonly Dictionary> StringConditions = diff --git a/ui/src/components/ErrorDetail.vue b/ui/src/components/ErrorDetail.vue index 472a4cd..98c129e 100644 --- a/ui/src/components/ErrorDetail.vue +++ b/ui/src/components/ErrorDetail.vue @@ -141,6 +141,18 @@ + + Host Name + + {{ item.hostName }} + + + + + Client IP