How to do it...

Perform the steps in this recipe to create a custom search command to format product names:

  1. Open a console or command-line window on your Splunk server.
  2. Simulate your scanner sending data by create an HTTP request from the command-line, using the token for authentication that was created in Chapter 1, Play Time - Getting Data In:
curl -k https://localhost:8088/services/collector/raw -H "Authorization: Splunk 8e958bb5-73fd-4cd2-b186-3c233f23168e " -d '{ "itemId": "1000016", "count": "120" }'
  1. You should receive a success message back if the request was processed correctly:
{"text":"Success","code":0}
  1. Log in to Splunk.
  2. Select the Operational Intelligence application.
  3. In the search bar, enter the following search over Last ...

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.