Manually adding the lookup to Splunk

Follow the given steps to manually add the lookup to Splunk:

  1. Upload your productdescriptions.csv file to $SPLUNK_HOME/etc/apps/operational_intelligence/lookups directory (create the lookups directory if required)
  2. Add the following stanza to $SPLUNK_HOME/etc/apps operational_intelligence/local/transforms.conf (create the local directory if required):
[Product_Descriptions] 
filename = productdescriptions.csv 
  1. Add the following stanza to $SPLUNK_HOME/etc/apps operational_intelligence/local/props.conf (create the local directory if required):
[log4j] 
LOOKUP-Product_Descriptions = Product_Descriptions itemId  AS itemId OUTPUTNEW itemDescription AS ProductDescription,  itemName AS ProductName

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.