How to search ES from the command line

Hi Slavik,

The problem I don't know what the search field options are. Are you talking about message and title or some other field? Could you provide an example of a command line that would search the message text for "test1234".

Thank you.
 
I would like to be able to search by user_id and keyword, but this doesn't work.

curl 'http://localhost:9200/database_name/_search?user=1&q=message:andy'

I need to find the correct user=1 part of this command.
 
Top Bottom