Databases Reference
In-Depth Information
#build the POST data
data = urllib.urlencode(fields)
#the request will be a post
resp = urllib2.urlopen(open_ticket_url, data)
print resp.read()
f.close()
Hopefully, these examples give you a starting point for your use case.
Summary
As we have seen in this chapter, there are a number of ways in which Splunk can
be extended to input, manipulate, and output events. The search engine at the heart
of Splunk is truly just the beginning. With a little creativity, Splunk can be used to
extend existing systems, both as a data source and as a way to trigger actions.
 
Search WWH ::




Custom Search