Hello,
I've created a watcher that sends an email containing a list of items that the Input returns to me. The Watcher sends this list by mail, in the body of the mail. Is it possible to send this list in a .csv file?
Thx !
Hello,
I've created a watcher that sends an email containing a list of items that the Input returns to me. The Watcher sends this list by mail, in the body of the mail. Is it possible to send this list in a .csv file?
Thx !
I found a solution :
Make a Discover view > Share > Csv -> copy link.
Inside a Watcher :
"actions": {
"send_email": {
"email": {
"profile": "standard",
"attachments": {
"name.csv": {
"reporting": {
"url": "*Discover link*",
"auth": {
"basic": {
"username": "username",
"password": "password"
}
}
}
}
},
"to": [
"mail@mail.com"
],
"subject": "Subject",
"body": {
"text": "body"
}
}
}
}
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.