elastalert icon indicating copy to clipboard operation
elastalert copied to clipboard

enhancement error agreggations

Open leandrob04 opened this issue 9 years ago • 5 comments

I was running my rule normally, but when I updated this problem came up. Can someone help me? teste teste2

leandrob04 avatar Jun 22 '17 20:06 leandrob04

What did you update? This doesn't touch Elastalert code at all. Why don't you add print res so you can see whats changed.

Qmando avatar Jun 22 '17 20:06 Qmando

I updated the version of elastalert and started the error. I did what you said but the same mistake continues. Is this a problem with the elasticsearch field, or is there something about enhancement?

Thanks

leandrob04 avatar Jun 23 '17 13:06 leandrob04

The print was for debugging, it wouldn't fix the issue. What did it print out?

You can get the same results with curl curl localhost:9200/wuzuh-alerts-*/wuzuh/_search -d '{"aggs": {"ipaddrs": {"terms": {"field": "srcip"}}}}'

Qmando avatar Jun 23 '17 21:06 Qmando

This command works perfectly. dwdw

leandrob04 avatar Jun 23 '17 21:06 leandrob04

Paste the output of the print statement you added.

Qmando avatar Jun 23 '17 21:06 Qmando