[#282] added the "real" user ip to the logs

This commit is contained in:
Gani Georgiev
2022-08-18 15:27:45 +03:00
parent 9bf66be870
commit cfaff31d97
19 changed files with 241 additions and 146 deletions
+6 -2
View File
@@ -63,8 +63,12 @@
</td>
</tr>
<tr>
<td class="min-width txt-hint txt-bold">IP</td>
<td>{item.ip}</td>
<td class="min-width txt-hint txt-bold">Remote IP</td>
<td>{item.remoteIp}</td>
</tr>
<tr>
<td class="min-width txt-hint txt-bold">User IP</td>
<td>{item.userIp}</td>
</tr>
<tr>
<td class="min-width txt-hint txt-bold">UserAgent</td>
+10 -1
View File
@@ -50,7 +50,16 @@
<Searchbar
value={filter}
placeholder="Search logs, ex. status > 200"
extraAutocompleteKeys={["method", "url", "ip", "referer", "status", "auth", "userAgent"]}
extraAutocompleteKeys={[
"method",
"url",
"remoteIp",
"userIp",
"referer",
"status",
"auth",
"userAgent",
]}
on:submit={(e) => (filter = e.detail)}
/>