Skip to content

Stream DB query fails if Journal DB query tags are used #346

@elliVM

Description

@elliVM

Describe the bug
StreamDB queries will fail if used with recognized tags that are not sourcetype, host or index.

Introduced in commit 082376e.

Before

LOGGER.debug("Element tag was not index, sourcetype or host: <{}>", tag);

After

throw new IllegalStateException("Unsupported StreamDB query element tag <" + tag + ">");

Expected behavior
Should these known tags be silently passed for streaming queries? Or is throwing exception correct here and only throw if the tag is unknown.

How to reproduce
run streaming query with known unsupported tags like <earliest> <latest> or <indexstatement>.

Software version
4.7.1

Additional context
line

Metadata

Metadata

Assignees

Labels

assistanceExtra attention, more information or help is neededbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions