Added loop to strip out grokpattern names from results and flag for base patterns