Skip to content

Commit

Permalink
add stats page
Browse files Browse the repository at this point in the history
  • Loading branch information
matfish3 committed Mar 25, 2023
1 parent 95bcb22 commit bf807c1
Show file tree
Hide file tree
Showing 43 changed files with 11,217 additions and 49 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes for Activity Log

## 1.3.0 - 2023-03-25
### Added
- Add statistics page

## 1.2.01 - 2023-03-17
### Fixed
- Readability: Replace html encoded slash in url with actual slash
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,19 @@ b. Specific: If you only want to filter a certain key from specific requests you
]
```

### Statistics
![craft4 ddev site_admin_activity-logs_stats (1)](https://user-images.githubusercontent.com/1510460/227717790-51cc3998-f496-4ec3-9346-50e2b443dc14.png)
The statistics page provides some insights gleaned from the raw data.
Similar to Craft's dashboard widgets, you can add and remove widgets, as well as change the order and the column span.
The data can be filered by:
1. Date Range
2. Site Id
3. User Id
4. Is Ajax?
5. Is Cp? (Control Panel Request)

If you have an idea for additional widget(s) please open a new [feature request](https://github.com/matfish2/craft-activity-log/issues/new?assignees=&labels=&template=feature_request.md&title=).

### Pruning Data

You can prune (delete) data before that last X days using the following console command:
Expand Down
Loading

0 comments on commit bf807c1

Please sign in to comment.