title: An error occurred (InvalidParameterException) when calling the PutSubscriptionFilter operation
body: <p>Trying to put cloud watch logs into kineses firehose. </p>
  
  <p>Followed below:
  <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/SubscriptionFilters.html#FirehoseExample" rel="nofollow noreferrer">https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/SubscriptionFilters.html#FirehoseExample</a></p>
  
  <p>Got this error</p>
  
  <p>An error occurred (InvalidParameterException) when calling the PutSubscriptionFilter operation: Could not deliver test message to specified Firehose stream. Check if t
  e given Firehose stream is in ACTIVE state.</p>
  
  <p>aws logs put-subscription-filter --log-group-name "xxxx" --filter-name "xxx" --filter-pattern "{$.httpMethod = GET}" --destination-arn "arn:aws:firehose:us-east-1:12345567:deliverystream/xxxxx" --role-arn "arn:aws:iam::12344566:role/xxxxx"</p>