Perform the steps in this recipe to create a custom search command to format product names:
- Open a console or command-line window on your Splunk server.
- 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" }'
- You should receive a success message back if the request was processed correctly:
{"text":"Success","code":0}
- Log in to Splunk.
- Select the Operational Intelligence application.
- In the search bar, enter the following search over Last ...