Hi,
I tried slack action of watcher but Non-ASCII character becomes "?".
Elastic stack version: 6.1.0
watcher settings:
{
"trigger": {
"schedule": {
"cron": "0 * * * * ?"
}
},
"input": {
"search": {
"request": {
"search_type": "query_then_fetch",
"indices": [
"*"
],
"types": ["doc"],
"body": {
"query": {
"match_all": {}
}
}
}
}
},
"condition": {
"compare": {
"ctx.payload.hits.total": {
"gt": 0
}
}
},
"actions": {
"send_email": {
"transform": {},
"email": {
"profile": "standard",
"to": [
"xxx@xxx.xxx"
],
"subject": "subjectあいうえお",
"body": {
"html": "bodyあいうえお"
}
}
},
"notify-slack": {
"transform": {},
"slack": {
"message": {
"to": [
"#elastic-notify"
],
"text": "textあいうえお",
"attachments": [
{
"color": "danger",
"title": "titleあいうえお",
"text": "attachmentあいうえお"
}
]
}
}
}
}
}
Email notification works fine.
Is there any necessary setting for character encoding for slack action?
Or, any workaround for this problem?
Thanks.