Remotely querying Splunk's REST API for unique page views
Web services have become the technology of choice for most of the applications that we use daily. By leveraging the connections that we use for regular web browsing, we can transfer data in a more programmatic fashion; this allows for easy integration between applications.
In this recipe, you will learn how to use Splunk's REST API to return unique IP addresses from the web server logs of our application.
Getting ready
To step through this recipe, you will need a running Splunk Enterprise server, with the sample data loaded from Chapter 1, Play Time – Getting Data In. You should be familiar with navigating the Splunk user interface and using the Splunk search language. This recipe will use ...
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.