Error sending logs to Elastic from UIPATH system

Hi,
When I try to send logs to Elastic, I get the following error:
Elasticsearch: Bulk item failed: index:rpa_test-2023.01.04 result: type:logEvent error:Type: illegal_argument_exception Reason: "Invalid type: expecting [_doc] but got [logEvent]"

Do you know what can be done about it and what the error is?
Thanks