title: Google Cloud Logs not exporting to storage
body: <p>I'm trying to set up a sink that will export a certain set of Google Cloud Platform logs to a Google Cloud Storage bucket but can't get it to work and the <a href="https://cloud.google.com/logging/docs/export/configure_export_v2" rel="nofollow noreferrer">documentation</a> doesn't seem to match what's happening on the GCP console.</p>
  
  <p>Steps (all using the GCP console):</p>
  
  <p>1) I set a filter on the log viewer which is showing me the expected logs</p>
  
  <p>2) I choose "Create Export" and fill in the fields:</p>
  
  <ul>
  <li>Sink Name = defaultServiceToGCSSink </li>
  <li>Sink Service = Google Cloud</li>
  <li>Storage Sink Destination = <em>mylogsBucket</em></li>
  </ul>
  
  <p>After hitting OK, I get a message: 
  <strong>Unknown user email address: defaultServiceToGCSSink@logging-<em>somedigits</em>.iam.gserviceaccount.com</strong></p>
  
  <p>Apparently the sink is trying to use the name I gave it as the user that will be writing to the storage bucket. </p>
  
  <p>When I check the bucket I can see that a user with that email <strong>was</strong> added as an owner to <em>mylogsBucket</em>. but still no logs in the bucket.</p>
  
  <p>I also added the group cloud-logs@google.com as an owner to the bucket (as the documentation states) but nothing works and no logs are exported to the bucket (and I've waited for more than a couple of hours).</p>
  
  <p>Should I be adding that new user to IAM? I tried to but it wouldn't accept the email address as a valid user name. </p>