log parser webstats query that filters out agents identifying as %bot% and arcgis traffic
SELECT date, time, cs(User-Agent), cs(Referer) FROM '[LOGFILEPATH]'
--WHERE cs-uri-stem = '/ima/'
AND cs(Referer) NOT LIKE 'https://www.arcgis.com%'
AND cs(User-Agent) NOT LIKE '%bot%'