Skip to content

Enhance SeqSearch with date range, signals and pagination#3

Open
matt-richardson wants to merge 1 commit intowillibrandon:mainfrom
matt-richardson:improve-seq-search
Open

Enhance SeqSearch with date range, signals and pagination#3
matt-richardson wants to merge 1 commit intowillibrandon:mainfrom
matt-richardson:improve-seq-search

Conversation

@matt-richardson
Copy link

Add enhancements to SeqSearch tool:

New parameters:

  • signalId: Filter by saved signal/search
  • fromDateUtc/toDateUtc: Date range filtering (more efficient than @timestamp in filter)
  • afterId: Pagination support for fetching more than 1000 events
  • timeoutSeconds: Configurable timeout (1-300 seconds)

Improvements:

  • Filter normalization: Accepts "*" as alias for "all events" (empty string)
  • Catches SeqApiException for filter syntax errors and provides guidance
  • Date validation
  • Signal validation

Includes tests:

  • Date range filtering
  • Timeout handling
  • Invalid input validation (dates, signals, filter syntax)
  • Pagination support
  • Filter normalization

Add enhancements to SeqSearch tool:

New parameters:
- signalId: Filter by saved signal/search
- fromDateUtc/toDateUtc: Date range filtering (more efficient than @timestamp in filter)
- afterId: Pagination support for fetching more than 1000 events
- timeoutSeconds: Configurable timeout (1-300 seconds)

Improvements:
- Filter normalization: Accepts "*" as alias for "all events" (empty string)
- Catches SeqApiException for filter syntax errors  and provides guidance
- Date validation
- Signal validation

Includes tests:
- Date range filtering
- Timeout handling
- Invalid input validation (dates, signals, filter syntax)
- Pagination support
- Filter normalization
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.

1 participant