Elastic integration with slack

Hi everyone
I have installed Elasticsearch with Kibana and fluentd.
now I want to send my logs to slack and I follow this doc (Watcher Slack Action | Elasticsearch Guide [8.13] | Elastic).
when I add

"actions" : {
  "notify-slack" : {
    "transform" : { ... },
    "throttle_period" : "5m",
    "slack" : {
      "message" : {
        "to" : [ "#admins", "@chief-admin" ], 
        "text" : "Encountered  {{ctx.payload.hits.total}} errors in the last 5 minutes (facepalm)" 
      }
    }
  }
}

my container could not run.
the error log is:

unknown setting [actions.notify-slack.slack.message.text] please check that any required plugins are installed, or check the breaking changes documentation for removed settings\n\tat org.elasticsearch.server@8.13.1

Thnks for your help.

Which version of Elasticsearch are you using?

Which license type are you using?

@Christian_Dahlqvist
Thanks for your response.
my elastic version is 8 and I use opensource version

You mean the basic license, right? There is no Opensource version of Elastiscsearch anymore, the last one was 7.10, after that the license changed and you have.

Watcher needs a license, it does not work with the Basic (free) license, you need to have a paid license for it to work.