Data acquisition for optimization of socket leg