Monitoring Family Pickle Consumption with Splunk!

Recently, about a month after our public health crisis started in the US, I opened my mailbox. Inside was a printed public service announcement sent from the mayor of my little community northwest of Denver. It had cute graphics of cartoonish townsfolk wearing facemasks, and the content conveyed reasonable, folksy messaging about social distancing and sheltering in place. I scanned over the card and read the fine print at the bottom: “Families are supposed to only be shopping for essential groceries once a week.”
Bollocks. How will I continue to be the gourmet cook my sous-vide thinks I am? Also, the mayor clearly does not know that my household contains two voracious eleven-year-olds that go through eggs, organic milk, Nutella, and pickles like there’s no tomorrow. And, it isn’t like my spouse and I can watch them at all hours of the day and night — we’re teleworking fiends chained to our Zoom webcams, just like the rest of the neighborhood. So how can I monitor the food consumption rate in the house, and be a good upstanding citizen by only shopping once a week?
Splunk to the rescue!

Yep, anywhere — that’s an Arlo camera perched, sideways, atop one of many pickle jars in the back corner of my refrigerator. It also records fascinating snippets of American life.
Anyway. What I really would like to put in Splunk is how often the fridge is opening, and specifically if the fridge is being opened in the middle of the night, which is when my son is most likely to consume all of the pickles, or the mini-bagels and cream cheese, which inevitably results in a conflict when my daughter goes to prepare breakfast in the morning. And in these times of quarantine, conflict avoidance takes on unprecedented2 importance!
Now, why on earth is any of this relevant to the security of an enterprise environment? Well, because of the state of the world today, our customers are rightly very interested in the physical security of their employees and their work locations. Most corporate offices are locked down tight, and entire floors should not have people working on them. The employees that are authorized to be in corporate locations during this crisis are few and far between. They should only be in certain areas of the building. In addition, you’ll want to ensure that your employees are following regulations and not trying to access their workspaces.

So, how can you ensure, in Splunk, that the activity occurring in your building is what you expect it to be? Consider ingesting three very useful data sources: proximity card reader data, local DHCP server logs, and the subject of this blog post, camera activity data. Combine any/all of them and you can start to get a very good picture of who is in your facility, or who is trying to access your facility.
And in this case, my facility is the “Brodsky Kitchen Refrigerator.”
What we’re looking to create is something like this!


How can you create your own magic? All you need is a camera system that logs its activity when it senses motion — the more detailed the information the better3. Arlo cameras, for example, can identify if an object seen is an animal, or a person, or a vehicle. The activity should be in some time-stamped format that can be consumed in Splunk — a flat-file written to a server, an email notification that Splunk Phantom could parse, data retrievable via API call, or in Arlo’s case (and what I did…) an IFTTT applet that triggers an HTTPS post via webhook to Splunk’s HTTP Event Collector! (Thanks for the tip, Cody!)
My Arlo event data in Splunk looks like this:

In the coming weeks we’ll tell you of some physical security monitoring use cases we have been seeing at customers, and give you a view into some of the kinds of data we collect at Splunk behind the scenes! Until then, send pickles and Nutella to one of the Splunk corporate offices — I’m sure they’ll make their way to me eventually.
1: The Splunk “free” license normally provides enough ingest license to capture most data sources on a home network at no cost!
2: Every article you’ve read in the past month uses the word “unprecedented.” Now your streak is unbroken.
3: From IP cameras, you could even pull activity off of the wire via Splunk Stream, Bro/Zeek, or similar
Related Articles
About Splunk
The world’s leading organizations rely on Splunk, a Cisco company, to continuously strengthen digital resilience with our unified security and observability platform, powered by industry-leading AI.
Our customers trust Splunk’s award-winning security and observability solutions to secure and improve the reliability of their complex digital environments, at any scale.