Sample use case

Let's see an example of consuming the Splunk API to be used through voice interaction using Alexa. This can be extended to perform hands-free troubleshooting and remediation through voice interactions, which means an engineer does not need to be physically present at a particular location to perform network operations.

In this example, we ask Alexa to show us any routers that have the management (Loopback45) interface down on the router. Alexa will call the Ops API (endpoint of the API web framework), which in turn will interact with Splunk to fetch the status of the Loopback45 interface for all routers, and would respond with the name of the router that has an interface down.

For our example, we have turned down the Loopback45 ...

Get Practical Network Automation - Second 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.