I have been tasked with a huge project and I am clueless. Pretty much I need to take lines of a file and use them to search Kibana. I have found the dev console, which is great, but I seem to not be getting the results I need... IF there is a hit from the query, say "test1 OR test2", I need the output to give me the src_ip, dest_ip, application along with some other information. I also need to somehow download this in readable forms.
Here is an example of my code that I am using to "search":
GET /_search { "query": { "query_string" : { "fields" : ["src_ip","dst_ip","Application"], "query" : "devicename: (test1 OR test2) AND policy_id: 15561" } } }
This is the output of what I am getting:
{ "took": 163, "timed_out": false, "_shards": { "total": 1791, "successful": 1791, "failed": 0 }, "hits": { "total": 0, "max_score": null, "hits": [] } }