The IPReputation extension can retrieve various data from Spur for a given IP address. This is often useful for filtering or interpreting logs (e.g. T395204), but the cost of fetching it is nontrivial and so we want to do it in a way that doesn't block MediaWiki serving the original request.
It could be done using DeferredUpdate or a similar mechanism, but logging code is very common and tightly coupled with the business logic that is being logged, and having to separate all of it into deferreds would be onerous. So if possible, a post-processing step outside MediaWiki would be much preferable.
Logstash has a plugin for fetching data from a REST API so in theory this seems doable, although I am not sure if delays are more tolerable in Logstash than in MediaWiki.