Viewing the Logs
In order to see logs click on the
Log Observer in the left-hand menu. Once in Log Observer please ensure Index on the filter bar is set to splunk4rookies-workshop. (1)
Next, click Add Filter and search, using the Fields (2) option for the field deployment.environment
(3). Then from the dropdown list, select your workshop instance, (4) and click =
(to include). You will now see only the log messages from your PetClinic application.
Next, search for the field service.name
, selecting the value customers-service
and click =
(to include). This should now appear in the filter bar (1). Next click on the Button Run Search (2).
This wil refresh the log entries and they will now be reduced to show the entries from your customers-service
only.
Click on an entry that starts with “Saving pet” (1). A side pane will open where you can see the detailed information, including the relevant trace and span IDs (2).