from. Source IP of the HTTP request associated to the transaction, except if the request includes X-Forwarded-For header (which overrides the former) or X-Real-IP (which overrides X-Forwarded-For and source IP).
Curiously, Orion also considers another header (X-Real-IP). Maybe IOTAs should also take it into account, for the sake of homogeneity.
I think this is the same behavior Orion implements, in case you want to get inspiration from it :)
https://fiware-orion.readthedocs.io/en/master/admin/logs/index.html#log-format
Curiously, Orion also considers another header (X-Real-IP). Maybe IOTAs should also take it into account, for the sake of homogeneity.