How to do it...

Follow the steps in this recipe to create an automatic product code lookup:

  1. Create a new file called productdescriptions.csv using your favorite text editor on your local computer and add the following lines, taking care to ensure that the commas are typed correctly:
itemId itemName itemDescription
4728475 Rolux Navigator Stylish men's watch with metal band
38492 Rolux Sportsman Men's sport watch with timer
1000014 Ripple BookPro 13 13-inch laptop - 5PB HDD/200 GB RAM
1000015 Ripple Jukebox 500 Portable music player - 984-hour battery life
1000016 Poku Castbox Video streaming device - HDMI compatible
1000017 Ripple Jukebox 300 Music streaming device 300GB storage capacity
1000020 Ripple MyPhone 8 The latest ...

Get Splunk Operational Intelligence Cookbook - Third Edition 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.