So far, we’ve been learning how to make use of the machine data that’s already ingested in Splunk. SPL provides numerous commands to explore the data effectively. At times however, you may need to bring in
external data into Splunk. For example, you may create a report of the top five user IDs that have the greatest number of login failures. The SPL might look like the following:
...| search status="denied" reason="incorrect password" | top 5 username
The result might look like the following:
username count
-------------------
jbarnes 1020
ksmith21 938 ...