I have data as following :
What i need to get is the OS_NATIVE_NAME of a particular DEVICE.
I know one way is to print its column value using:
awk '{print $*col_num*}' But the column number for this OS_NATIVE_NAME is not fixed. This is because, other fields like STATUS can have values different (could be multiple sometime), which is causing a problem of not having fixed column number for the OS_NATIVE_NAME, which is the required data for my tests.
How can i grep that particular column's content??

code blocks? With an image it's hard to do test cases.