I am trying to search some log files in Sublime Text 3, is it possible for me to search for two different things that are contained within the same line?
So I am trying to find how many times Facebook sent people to my website (Because their click through stats and what my analytics show are WAY different).
So I’m looking at lines like this:
GET /url?utm_source=facebook&utm_medium=cpc&utm_campaign=name HTTP/1.1" 200 18643 “-” "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)
The underlined number is different in each instance of this, so I want to search the first part with the 200 code, but also that contains the facebookexternalhit/1.1 portion and return how many instances there are, then I will record each line number it is referenced.
Am I able to do this? Thanks!