Skip to content

WIP Support multi-value logType filter in GetEvents and rename eventType …#122

Open
sallymoc wants to merge 1 commit intomainfrom
feature/multi-value-logtype-filter
Open

WIP Support multi-value logType filter in GetEvents and rename eventType …#122
sallymoc wants to merge 1 commit intomainfrom
feature/multi-value-logtype-filter

Conversation

@sallymoc
Copy link
Contributor

@sallymoc sallymoc commented Mar 3, 2026

…to logType

  • Allow comma-separated logType values in GetEvents filter (e.g. "0,1,3")
  • Use ES terms query for multiple values, term for single value
  • Rename filter key from eventType to logType across validation, query builder, tests and proto docs
  • Simplify createEventsQuery by removing unnecessary bytes.Buffer

…to logType

- Allow comma-separated logType values in GetEvents filter (e.g. "0,1,3")
- Use ES `terms` query for multiple values, `term` for single value
- Rename filter key from eventType to logType across validation, query builder, tests and proto docs
- Simplify createEventsQuery by removing unnecessary bytes.Buffer
@qubicmio
Copy link
Member

qubicmio commented Mar 4, 2026

Is there a related issue?

@sallymoc
Copy link
Contributor Author

sallymoc commented Mar 4, 2026

Yes. I created it last week #117

@sallymoc sallymoc linked an issue Mar 4, 2026 that may be closed by this pull request
@qubicmio
Copy link
Member

qubicmio commented Mar 6, 2026

The filter logic has been heavily refactored in the dev branch so this PR should not get merged. We can add this next sprint or I can maybe include it in the current dev branch.

@qubicmio qubicmio changed the title Support multi-value logType filter in GetEvents and rename eventType … WIP Support multi-value logType filter in GetEvents and rename eventType … Mar 6, 2026
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.

Support filtering by multiple logTypes in GetEvents

2 participants