Hi Team,
I am unable to send the email notification with kibana generated CSV report actual data , its having some meta data information like index name and other columns name .
I am using below reqeust ,
PUT _xpack/watcher/watch/ReportCSVWithOutData
{
"trigger": {
"schedule": {
"interval": "1h"
}
},
"actions": {
"email_admin": {
"email": {
"to": "'abc@abc.com'",
"subject" : "abc",
"body" : "abc",
"attachments": {
"errorReport_attachment.csv": {
"http": {
"content_type": "application/pdf",
"request": {
"method": "POST",
"headers": {
"kbn-xsrf": "reporting"
},
"read_timeout": "300s",
"scheme": "http",
"url": "CSV Generated url"
}
}
}
}
}
}
}
}
I am using elk 6.4.3V .