Skip to content

Tag: elasticsearch

How to allow ElasticSearch to accept empty date fields?

I have a Python script that I use to load some data into ElasticSearch. One of the fields I am loading is a date field, which on some rare occasions can be empty. In my code, if there is no date, I assign it the string “null”: In this case, I am getting the following error: How can I make

Python webhook API

I am trying to create a python webhook to receive data from my ELastic SIEM (JSON format), when I try it I am getting this errors: (sorry It’s my first time using python, so couldn’t know what’s the problem) The webhook configuration: And here is the watcher that I have configured: Could you…