Show log messages in slack

Hi everyone
I migrate from Elasticsearch to OpenSearch to centralized my logs.
I configure OpenSearch to send some info into slack, now I want to send some filed of log message itself into slack.
Thanks or your helping.