Can't send csv with watcher

Hi, I've just created my first watcher for sending a pdf report via email and it works fine. When I replace the URL for the pdf report with an URL for a csv file I get the following response:

{"statusCode":502,"error":"Bad Gateway","message":"Client request timeout"}

How can I fix the problem?

Solved the problem. The csv was too big. Found a corresponding message in the log file. With a smaller csv everything worked fine.

Hey,

the [email attachment docs] (https://www.elastic.co/guide/en/elasticsearch/reference/7.8/actions-email.html#configuring-email-attachments) have two parameters to increase the retries and interval, which results in longer watch execution as the watch keeps polling, but may work in your case.

--Alex

No, I can see the allowed max size in the protocol. It was 10 MB.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.