Stuart’s MATLAB Videos

Watch and Learn

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the Original version of the page.

Using Anonymous Functions to Parameterize the Log File Analysis

Posted by Stuart McGarrity,

Here I restructure the section of my code that filters the requests, so I can easily add any filter rule (as an anonymous function) in the future. Once again I forgot to turn on my webcam so you don’t get to see my smiling face, just my desktop.

Features covered in this video include:

  • Anonymous Functions
  • Nested Functions
  • mapreduce with Key-Value datastores

Follow me (@stuartmcgarrity) if you want to be notified via Twitter when I post.

Play the video in full screen mode for a better viewing experience. 

I realize after that I was searching in “request” instead of “agent” for my string. Once I fixed that, I could see the traffic I was interested in.