in reply to usage of awk and grep together

Hmmm ,

A coupla things:

The long and short of it is that since grep doesn't directly support ranges, you could condense the above to achieve (what I believe to be) the same result using awk as follows:
awk '/fileid/,/^-----/ { /specificdata/ { print } }' logfile

A user level that continues to overstate my experience :-))