Are there any specific requirements for the reference?
Use any object with a minimum length of 1 meter. Place the measurement stick (or any reference object you prefer) either vertically or horizontally across the pile.
You should make sure to place the reference as close to the pile as possible for the most accurate results. Do not lean the reference on the pile. It should be parallel with the log-ends.