Skip to content

Handle timestampVal type in stats.py#171

Merged
mihirvala08 merged 4 commits intogoogle:mainfrom
jbfuzier:handle_stats_timebucket
Feb 3, 2026
Merged

Handle timestampVal type in stats.py#171
mihirvala08 merged 4 commits intogoogle:mainfrom
jbfuzier:handle_stats_timebucket

Conversation

@jbfuzier
Copy link
Contributor

Hello,

This PR add handling for timestampVal, this is used when stats queries return timebuckets, example :

events:
            $e.metadata.log_type="CS_EDR"
            $log_type = $e.metadata.log_type
match:
            $log_type by 5m
outcome:
            $total = math.round(count($e.metadata.id)/300)

Add handling for timestampVal, this is used when stats queries return timebuckets, example : 

events:
            $e.metadata.log_type="CS_EDR"
            $log_type = $e.metadata.log_type
match:
            $log_type by 5m
outcome:
            $total = math.round(count($e.metadata.id)/300)
@jbfuzier jbfuzier requested a review from mihirvala08 as a code owner January 23, 2026 11:59
@google-cla
Copy link

google-cla bot commented Jan 23, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@mihirvala08
Copy link
Collaborator

Hi @jbfuzier, could you please sign CLA here https://cla.developers.google.com/clas ?
Let me know once done, So I can re run the check.

@jbfuzier
Copy link
Contributor Author

Hello,

Thanks, done.

@mihirvala08
Copy link
Collaborator

/run-integration-tests 3b11501

@mihirvala08 mihirvala08 merged commit 7269cc5 into google:main Feb 3, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants