Stuart’s MATLAB Videos

Watch and Learn

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.

13 views (last 30 days)  | |

Comments

To leave a comment, please click here to sign in to your MathWorks Account or create a new one.