Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error messaging with empty sourcetype, source #420

Open
Abigael-JT opened this issue Nov 18, 2024 · 0 comments
Open

Improve error messaging with empty sourcetype, source #420

Abigael-JT opened this issue Nov 18, 2024 · 0 comments

Comments

@Abigael-JT
Copy link
Contributor

Description

%dpl
sourcetype=

%dpl
source=

Returns:
java.lang.IllegalStateException: Parser failure on line 2, column 11 due to no viable alternative at input 'sourcetype='
Please check that the query is written correctly. Otherwise, please report this error and include the query used and this error.

I think an empty index should also give an error message, currently it returns no results

Related ticket

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

No branches or pull requests

1 participant