Im trying making a datasource using elasticsearch with my tool LogStack (https://github.com/prsolucoes/logstack/). But after try a lot i have one method that i dont know how to do solve the problem.
This is the file:
This method need make a simple search wih some conditions:
1 - all logs need be retrieved by a token
2 - if message is empty, the search need be greater than date parameter
3 - if message is not empty, the search need contains the message (like a like sql command)
I try made it in my current class above, but not success
Can anyone help me with it? Thanks.