Hello,
I'm completely new with elasticsearch and don't have any experience with it yet, and now I'm evaluating if it can be part of a solution I'm creating, because I would like to use kibana.
I've a JMS Queue where events are being added by other system. I'm converting these events in JSON like below:
{ "instanceId":123, "name":"TST Process", "status":"Active" }
First question. Can I update this JSON record inside elasticsearch using as filter the parameter instanceId? Something like UPDATE set status='Running' where instanceId = 123 in SQL
Second question. The update action can occur in a really small period of time (miliseconds) and I'm not sure if this kind of action is safe in elasticsearch because in the article below I read:
Elasticsearch provides data manipulation and search capabilities in near real time. By default, you can expect a one second delay (refresh interval) from the time you index/update/delete your data until the time that it appears in your search results.
https://www.elastic.co/guide/en/elasticsearch/reference/current/_modifying_your_data.html
I really appreciate any help.
Thanks