Changes

Jump to navigation Jump to search
No change in size ,  14:51, 14 November 2019
m
no edit summary
Line 1: Line 1:  
Copy requirements to /opt/splunk/lib/python2.7/site-packages
 
Copy requirements to /opt/splunk/lib/python2.7/site-packages
   −
Including SplunkLookup.py:<syntaxhighlight lang="python">
+
Including splunk_lookup.py:<syntaxhighlight lang="python">
 
import csv
 
import csv
 
import sys
 
import sys
Line 67: Line 67:     
</syntaxhighlight>Create your own lookup in: /opt/splunk/etc/system/bin
 
</syntaxhighlight>Create your own lookup in: /opt/splunk/etc/system/bin
   
Example : geoip.py<syntaxhighlight lang="python">
 
Example : geoip.py<syntaxhighlight lang="python">
 
from splunk_lookup import SplunkLookup
 
from splunk_lookup import SplunkLookup

Navigation menu