title: AWS CloudWatch Log Metric Filter with JSON key has character space
body: <p>When creating an AWS CloudWatch Log Metric Filter, how would you match terms in JSON Log Events where the key has a character space in the name?</p>
  
  <p>For example, let's assume there's a log line with JSON element like the following...</p>
  
  <pre><code>{"Event":"SparkListenerLogStart","Spark Version":"2.4.0-SNAPSHOT"}
  </code></pre>
  
  <p>How would you reference the "Spark Version"? <code>$."Spark Version"</code>, <code>$.Spark Version</code>, <code>$.Spark\ Version</code>, and <code>$.[Spark Version]</code> don't work.</p>
  
  <p>I couldn't find the answer in the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html" rel="noreferrer">AWS Filter and Pattern Syntax documentation</a>.</p>