I have a sample log file with fields and values in this format
value1 value2
50 100
value3 value4
10 150
value5
200
I need to extract fields and values to something of this format
value1=50
value2=100
value3=10
value4=150
value5=200
Try this awk: