# Error sending logs to Elastic from UIPATH system

**URL:** <https://discuss.elastic.co/t/error-sending-logs-to-elastic-from-uipath-system/322471>\
**Category:** Elasticsearch\
**Created:** [January 4, 2023, 1:53pm UTC](https://discuss.elastic.co/t/error-sending-logs-to-elastic-from-uipath-system/322471 "2023-01-04T13:53:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aviadhaim18](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aviadhaim18/32/115545_2.png) [@aviadhaim18](https://discuss.elastic.co/u/aviadhaim18)\
**Post date:** [January 4, 2023, 1:53pm UTC](https://discuss.elastic.co/t/error-sending-logs-to-elastic-from-uipath-system/322471/1 "2023-01-04T13:53:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 1, 2023, 1:54pm UTC](https://discuss.elastic.co/t/error-sending-logs-to-elastic-from-uipath-system/322471/2 "2023-02-01T13:54:23Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
