By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
This PR affects all logs & analytics pages (request logs, access logs and action logs)
updated the default logs time ranges to the last 7 days
updated the export limits to 50 000 rows, with an helpful message in case that limit is exceeded:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/fosrl/pangolin/pull/2020
**Author:** [@Fredkiss3](https://github.com/Fredkiss3)
**Created:** 12/8/2025
**Status:** ✅ Merged
**Merged:** 12/11/2025
**Merged by:** [@oschwartz10612](https://github.com/oschwartz10612)
**Base:** `dev` ← **Head:** `fix/log-analytics-adjustments`
---
### 📝 Commits (9)
- [`e0a79b7`](https://github.com/fosrl/pangolin/commit/e0a79b7d4d1015f61a0027727a9b58d2dbf43799) ♻️ set default log analytics time range to. 7days ago
- [`adf76bf`](https://github.com/fosrl/pangolin/commit/adf76bfb53005c73aad2060e53a1bfaa6bec21b0) ♻️ set default start time to 7 days ago
- [`9db2fef`](https://github.com/fosrl/pangolin/commit/9db2feff774b023732bdff62dd57259db24808ab) ♻️ set default time to 7 days ago in API too
- [`d490cab`](https://github.com/fosrl/pangolin/commit/d490cab48ce32ac92741b3fd4e402f516747efdb) Merge dev into fix/log-analytics-adjustments
- [`df4b9de`](https://github.com/fosrl/pangolin/commit/df4b9de334175c74ae74d5a04383a89cf7994934) 🚧 wip: export limits
- [`5b62046`](https://github.com/fosrl/pangolin/commit/5b620469c7b4736c4931a36bc195d8ecc7a01ea4) ♻️ set export logs limits to `50 000` everywhere
- [`c977925`](https://github.com/fosrl/pangolin/commit/c9779254c3ccceaa55703a7c4c3bd782bfe2c70a) 💄add time range tooltip to explain it better
- [`85986dc`](https://github.com/fosrl/pangolin/commit/85986dcccb400ff97300b1d3b047e62b17f694d2) Merge branch 'dev' into fix/log-analytics-adjustments
- [`f9c0e0e`](https://github.com/fosrl/pangolin/commit/f9c0e0ec3dd8e81247adb54acab5a238b562e3f6) 💬 updated text
### 📊 Changes
**15 files changed** (+228 additions, -167 deletions)
<details>
<summary>View changed files</summary>
📝 `messages/en-US.json` (+2 -0)
📝 `server/private/routers/auditLogs/exportAccessAuditLog.ts` (+12 -1)
📝 `server/private/routers/auditLogs/exportActionAuditLog.ts` (+12 -1)
📝 `server/private/routers/auditLogs/queryAccessAuditLog.ts` (+3 -1)
📝 `server/private/routers/auditLogs/queryActionAuditLog.ts` (+3 -1)
📝 `server/routers/auditLogs/exportRequestAuditLog.ts` (+19 -3)
📝 `server/routers/auditLogs/queryRequestAnalytics.ts` (+6 -9)
📝 `server/routers/auditLogs/queryRequestAuditLog.ts` (+3 -1)
📝 `src/app/[orgId]/settings/logs/access/page.tsx` (+22 -20)
📝 `src/app/[orgId]/settings/logs/action/page.tsx` (+32 -31)
📝 `src/app/[orgId]/settings/logs/request/page.tsx` (+28 -25)
📝 `src/components/LogAnalyticsData.tsx` (+26 -28)
📝 `src/components/LogDataTable.tsx` (+47 -38)
➕ `src/lib/getSevenDaysAgo.ts` (+7 -0)
📝 `src/lib/queries.ts` (+6 -8)
</details>
### 📄 Description
## Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
## Description
This PR affects all logs & analytics pages (request logs, access logs and action logs)
- updated the default logs time ranges to the last 7 days
- updated the export limits to `50 000 rows`, with an helpful message in case that limit is exceeded:
> <img width="475" height="191" alt="image" src="https://github.com/user-attachments/assets/f28a5d80-4c1e-44d7-8a0c-64ef234940bf" />
closes #2010
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/fosrl/pangolin/pull/2020
Author: @Fredkiss3
Created: 12/8/2025
Status: ✅ Merged
Merged: 12/11/2025
Merged by: @oschwartz10612
Base:
dev← Head:fix/log-analytics-adjustments📝 Commits (9)
e0a79b7♻️ set default log analytics time range to. 7days agoadf76bf♻️ set default start time to 7 days ago9db2fef♻️ set default time to 7 days ago in API tood490cabMerge dev into fix/log-analytics-adjustmentsdf4b9de🚧 wip: export limits5b62046♻️ set export logs limits to50 000everywherec977925💄add time range tooltip to explain it better85986dcMerge branch 'dev' into fix/log-analytics-adjustmentsf9c0e0e💬 updated text📊 Changes
15 files changed (+228 additions, -167 deletions)
View changed files
📝
messages/en-US.json(+2 -0)📝
server/private/routers/auditLogs/exportAccessAuditLog.ts(+12 -1)📝
server/private/routers/auditLogs/exportActionAuditLog.ts(+12 -1)📝
server/private/routers/auditLogs/queryAccessAuditLog.ts(+3 -1)📝
server/private/routers/auditLogs/queryActionAuditLog.ts(+3 -1)📝
server/routers/auditLogs/exportRequestAuditLog.ts(+19 -3)📝
server/routers/auditLogs/queryRequestAnalytics.ts(+6 -9)📝
server/routers/auditLogs/queryRequestAuditLog.ts(+3 -1)📝
src/app/[orgId]/settings/logs/access/page.tsx(+22 -20)📝
src/app/[orgId]/settings/logs/action/page.tsx(+32 -31)📝
src/app/[orgId]/settings/logs/request/page.tsx(+28 -25)📝
src/components/LogAnalyticsData.tsx(+26 -28)📝
src/components/LogDataTable.tsx(+47 -38)➕
src/lib/getSevenDaysAgo.ts(+7 -0)📝
src/lib/queries.ts(+6 -8)📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
This PR affects all logs & analytics pages (request logs, access logs and action logs)
50 000 rows, with an helpful message in case that limit is exceeded:closes #2010
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.