title: "Logs can only be viewed for the account logged in" in AWS CloudWatch Logs console
body: <p>After enabling cross-account, cross-region access (in AWS CloudWatch Settings) in both the monitoring account and the sharing account, I receive an error in the CloudWatch Logs console upon selecting the sharing account from the drop-down at the top of the page:
  "Logs can only be viewed for the account logged in - XXX. You are viewing data for YYY.Go back to XXX in us-east-1"</p>
  
  <p>Viewing cross-account <em>metrics</em> and <em>dashboards</em> are working well, but <em>logs</em> are most useful to my use case. What could cause this error on the console?</p>
  
  <p>I have the monitoring and sharing roles set up per the instructions here: <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html#enable-cross-account-cross-Region" rel="noreferrer">https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html#enable-cross-account-cross-Region</a></p>