title: Using shell to extract IDs from a server log?
body: <p>I have the following blob repeated many times within a file that has so sensible delimiter:</p>
  
  <blockquote>
    <p>"2020-05-12T07:51:56,071Z FATAL [] [message=Failed to process event xyz::5bf0726d-5927-32d0-92b3-5c741d9c15ec : association failed for the the id xyz::5bf0726d-5927-32d0-92b3-5c741d9c15ec , part (Service: AmazonDynamoDBv2; Status Code: 400; Error Code: ValidationException; Request ID: )] ... splunkcloud.com,</p>
  </blockquote>
  
  <p>Something like.. <code>(xyz::[0-9A-Za-z-]+)</code></p>
  
  <p>I specifically would like to extract the ID <code>xyz::5bf0726d-5927-32d0-92b3-5c741d9c15ec</code> from this log (which is continuously  repeating. The value can end in an alphanumeric and it always starts with <code>xyz::</code>.</p>
  
  <p>I ultimately want to cat the file in shell and run in through something like awk/sed so I can have just a line delimited file of these IDs. Thanks. </p>