Logs are not getting save using NLog

Hi,
i am using Elasticsearch 8 version every thing is correct but my logs are not getting save on Elasticsearch. please help me if anyone know about this . Below is my nlog.config

Elasticsearch 8.x by default comes with security enabled, but your config specifies http instead of https and no auth credentials. Is your cluster unsecured?