mihirsoni / odfe-monitor-cli

Manage your Alerting monitors
Apache License 2.0
35 stars 22 forks source link

Can't sync destination and monitor #18

Closed RyoSanka closed 3 years ago

RyoSanka commented 3 years ago

I use EC2 amazon linux to build Opendistro (1.12.0) I installed odfe-monitor-cli and connect successful with ELK. (Run sync destination and monitor) But when i check file destination and monitor, it's nothing here. I check all problem about security but no problem here. I have created monitor and destination on Kibana. Pleass give me a advice to resolve. Thank you.

hình ảnh_2021-01-30_103225

hình ảnh_2021-01-30_104025

marinogiaco commented 3 years ago

I had the same issue in the past, sync destinations doesn't work with latests versions of opendistro-for-elasticsearch, it worked with opendistro-for-elasticsearch:1.4.0

marinogiaco commented 3 years ago

The issue is that the query doesn't work with POST: Image If you change to http.MethodGet in this line it should work.

marinogiaco commented 3 years ago

Got it working with https://github.com/mihirsoni/odfe-monitor-cli/pull/19

RyoSanka commented 3 years ago

Thank you. It's work. ^^