TheHive4py
TheHive4py copied to clipboard
Elastic error when update alert with a file
Request Type
Bug
Work Environment
| Question | Answer |
|---|---|
| OS version (server) | Debian |
| TheHive4py version | 1.5.3 |
Problem Description
hi!! When I try to update an alert by sending a file-type observable (100KB) I get the elasticSearch error:
document contains at least one immense term in field
if this file is uploaded at the creation of the alert I have no problem.
Steps to Reproduce
- Create alert
- Update alert with a file observable with a large file
Complementary information
I don't know if you can refer to this: https://github.com/TheHive-Project/TheHive4py/issues/119
thanks!!
Hello @joseluratm could please share the code sample that generates this issue, and what field contains that immense term in field?
Do you have a better log output form TheHive (/etc/thehive/application.log)