Listing the top viewed products

Our web access logs capture the product IDs (the item field in the logs) that users are viewing and adding to their shopping carts. Understanding the top products that people view can help influence our sales and marketing strategy and even product direction. Additionally, products viewed on an e-commerce website might not always necessarily translate into sales of that product.

In this next recipe, we will write a Splunk search to chart the top 10 products that users successfully view and compare against the number of successful shopping cart additions for each product. For example, if a product has a high number of views, but the product is not being added to carts, this could indicate that something is not right—perhaps, ...

Get Splunk Operational Intelligence Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.