bzqr2k

Elasticsearch for gmail or outlook notification

Nov 1st, 2019
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.46 KB | None | 0 0
  1. https://www.elastic.co/guide/en/elasticsearch/reference/7.3/actions-email.html#outlook :
  2. elasticsearch_1 | {"type": "server", "timestamp": "2019-11-01T21:25:59,981+0000", "level": "ERROR", "component": "o.e.x.w.a.e.ExecutableEmailAction", "cluster.name": "docker-cluster", "node.name": "37ec8ef459e6", "cluster.uuid": "i5EgPaWWSpmmZJk13YgJVw", "node.id": "Bh120vTMTw6XU7Vehhd2jw", "message": "failed to execute action [_inlined_/email_1]" ,
  3. elasticsearch_1 | "stacktrace": ["javax.mail.MessagingException: failed to send email with subject [Watch [Test alert whenever the CPU is above 25%.] has exceeded the threshold] via account [outlook_account]",
  4. elasticsearch_1 | "at org.elasticsearch.xpack.watcher.notification.email.EmailService.send(EmailService.java:153) ~[?:?]",
  5. elasticsearch_1 | "at org.elasticsearch.xpack.watcher.notification.email.EmailService.send(EmailService.java:145) ~[?:?]",
  6. elasticsearch_1 | "at org.elasticsearch.xpack.watcher.actions.email.ExecutableEmailAction.execute(ExecutableEmailAction.java:72) ~[?:?]",
  7. elasticsearch_1 | "at org.elasticsearch.xpack.core.watcher.actions.ActionWrapper.execute(ActionWrapper.java:163) [x-pack-core-7.3.1.jar:7.3.1]",
  8. elasticsearch_1 | "at org.elasticsearch.xpack.watcher.execution.ExecutionService.executeInner(ExecutionService.java:516) [x-pack-watcher-7.3.1.jar:7.3.1]",
  9. elasticsearch_1 | "at org.elasticsearch.xpack.watcher.execution.ExecutionService.execute(ExecutionService.java:309) [x-pack-watcher-7.3.1.jar:7.3.1]",
  10. elasticsearch_1 | "at org.elasticsearch.xpack.watcher.transport.actions.execute.TransportExecuteWatchAction$1.doRun(TransportExecuteWatchAction.java:159) [x-pack-watcher-7.3.1.jar:7.3.1]",
  11. elasticsearch_1 | "at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-7.3.1.jar:7.3.1]",
  12. elasticsearch_1 | "at org.elasticsearch.xpack.watcher.execution.ExecutionService$WatchExecutionTask.run(ExecutionService.java:605) [x-pack-watcher-7.3.1.jar:7.3.1]",
  13. elasticsearch_1 | "at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:688) [elasticsearch-7.3.1.jar:7.3.1]",
  14. elasticsearch_1 | "at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]",
  15. elasticsearch_1 | "at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]",
  16. elasticsearch_1 | "at java.lang.Thread.run(Thread.java:835) [?:?]",
  17. elasticsearch_1 | "Caused by: javax.mail.AuthenticationFailedException: failed to connect, no password specified?",
  18. elasticsearch_1 | "at javax.mail.Service.connect(Service.java:376) ~[?:?]",
  19. elasticsearch_1 | "at org.elasticsearch.xpack.watcher.notification.email.Account.lambda$executeConnect$2(Account.java:158) ~[?:?]",
  20. elasticsearch_1 | "at java.security.AccessController.doPrivileged(AccessController.java:552) ~[?:?]",
  21. elasticsearch_1 | "at org.elasticsearch.xpack.watcher.notification.email.Account.executeConnect(Account.java:157) ~[?:?]",
  22. elasticsearch_1 | "at org.elasticsearch.xpack.watcher.notification.email.Account.send(Account.java:116) ~[?:?]",
  23. elasticsearch_1 | "at org.elasticsearch.xpack.watcher.notification.email.EmailService.send(EmailService.java:151) ~[?:?]",
  24. elasticsearch_1 | "... 12 more"] }
  25.  
  26.  
  27. https://www.elastic.co/guide/en/elasticsearch/reference/7.3/actions-email.html#gmail :
  28. elasticsearch_1 | {"type": "server", "timestamp": "2019-11-01T21:10:12,021+0000", "level": "ERROR", "component": "o.e.x.w.a.e.ExecutableEmailAction", "cluster.name": "docker-cluster", "node.name": "12ddb523f395", "cluster.uuid": "i5EgPaWWSpmmZJk13YgJVw", "node.id": "Bh120vTMTw6XU7Vehhd2jw", "message": "failed to execute action [_inlined_/email_1]" ,
  29. elasticsearch_1 | "stacktrace": ["javax.mail.MessagingException: failed to send email with subject [Watch [Test alert whenever the CPU is above 25%.] has exceeded the threshold] via account [gmail_account]",
  30. elasticsearch_1 | "at org.elasticsearch.xpack.watcher.notification.email.EmailService.send(EmailService.java:153) ~[?:?]",
  31. elasticsearch_1 | "at org.elasticsearch.xpack.watcher.notification.email.EmailService.send(EmailService.java:145) ~[?:?]",
  32. elasticsearch_1 | "at org.elasticsearch.xpack.watcher.actions.email.ExecutableEmailAction.execute(ExecutableEmailAction.java:72) ~[?:?]",
  33. elasticsearch_1 | "at org.elasticsearch.xpack.core.watcher.actions.ActionWrapper.execute(ActionWrapper.java:163) [x-pack-core-7.3.1.jar:7.3.1]",
  34. elasticsearch_1 | "at org.elasticsearch.xpack.watcher.execution.ExecutionService.executeInner(ExecutionService.java:516) [x-pack-watcher-7.3.1.jar:7.3.1]",
  35. elasticsearch_1 | "at org.elasticsearch.xpack.watcher.execution.ExecutionService.execute(ExecutionService.java:309) [x-pack-watcher-7.3.1.jar:7.3.1]",
  36. elasticsearch_1 | "at org.elasticsearch.xpack.watcher.transport.actions.execute.TransportExecuteWatchAction$1.doRun(TransportExecuteWatchAction.java:159) [x-pack-watcher-7.3.1.jar:7.3.1]",
  37. elasticsearch_1 | "at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-7.3.1.jar:7.3.1]",
  38. elasticsearch_1 | "at org.elasticsearch.xpack.watcher.execution.ExecutionService$WatchExecutionTask.run(ExecutionService.java:605) [x-pack-watcher-7.3.1.jar:7.3.1]",
  39. elasticsearch_1 | "at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:688) [elasticsearch-7.3.1.jar:7.3.1]",
  40. elasticsearch_1 | "at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]",
  41. elasticsearch_1 | "at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]",
  42. elasticsearch_1 | "at java.lang.Thread.run(Thread.java:835) [?:?]",
  43. elasticsearch_1 | "Caused by: javax.mail.AuthenticationFailedException: failed to connect, no password specified?",
  44. elasticsearch_1 | "at javax.mail.Service.connect(Service.java:376) ~[?:?]",
  45. elasticsearch_1 | "at org.elasticsearch.xpack.watcher.notification.email.Account.lambda$executeConnect$2(Account.java:158) ~[?:?]",
  46. elasticsearch_1 | "at java.security.AccessController.doPrivileged(AccessController.java:552) ~[?:?]",
  47. elasticsearch_1 | "at org.elasticsearch.xpack.watcher.notification.email.Account.executeConnect(Account.java:157) ~[?:?]",
  48. elasticsearch_1 | "at org.elasticsearch.xpack.watcher.notification.email.Account.send(Account.java:116) ~[?:?]",
  49. elasticsearch_1 | "at org.elasticsearch.xpack.watcher.notification.email.EmailService.send(EmailService.java:151) ~[?:?]",
  50. elasticsearch_1 | "... 12 more"] }
Add Comment
Please, Sign In to add comment