Skip to content

Commit

Permalink
query all resources and users
Browse files Browse the repository at this point in the history
  • Loading branch information
devincowan committed Feb 20, 2024
1 parent b14fbe6 commit 0403d05
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions jinja-report/collect_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,12 @@ def get_stats_data(users=True, resources=True,
report_dt_str = datetime.today().strftime('%m/%d/%Y')

uindex = '*user*latest*'
uquery = 'rpt_dt_str:"*"'
# uquery = f'rpt_dt_str:"{report_dt_str}"'
uquery = '*'

rindex = '*resource*latest*'
rquery = 'rpt_dt_str:"*"'
# rquery = f'rpt_dt_str:"{report_dt_str}"'
rquery = '*'

aindex = '*activity*'
aquery = '-user_id:None AND -action:visit'
Expand Down

0 comments on commit 0403d05

Please sign in to comment.