Add QueryJobs pagination sample for NG-SIEM#1459
Merged
jshcodes merged 2 commits intoMay 11, 2026
Merged
Conversation
Adds a sample script that demonstrates cursor-based pagination for NG-SIEM QueryJobs, which return a 200-event result buffer for filter queries. The script uses the `around` parameter to walk through all matching events beyond the initial buffer.
Move script to samples/ngsiem/ (no subfolder for single-file samples), merge README content into the parent ngsiem README, and add ASCII artwork to the script docstring.
jshcodes
approved these changes
May 11, 2026
Member
jshcodes
left a comment
There was a problem hiding this comment.
Thank you for your contribution! 🙇
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
samples/ngsiem/queryjobs-pagination/with a Python script that demonstrates cursor-based pagination for NG-SIEM QueryJobsaroundparameter to walk through all matching events beyond the initial buffersamples/ngsiem/README.mdwith a link to the new sampleFiles Added
samples/ngsiem/queryjobs-pagination/README.md— usage docs, parameter reference, pagination algorithm explanationsamples/ngsiem/queryjobs-pagination/ngsiem_queryjob_paginator.py— FalconPy-based paginator scriptTest plan
python3 ngsiem_queryjob_paginator.py -q '#event_simpleName=ProcessRollup2'--max-eventsflag limits output correctly-m CHILD_CID