Update indexed docs based on a value from a new doc still does not indexed

You could use Update by Query and an http output that posts to elasticsearch. There is an example here.