title: Need help adding value to a variable
body: <p>Here is the whole code section</p>
  
  <pre class="lang-python prettyprint-override"><code>for entry in auth_log:
      # timestamp is converted to milliseconds for CEF
      # repr is used to keep '\\' in the domain\username
      extension = {
          'rt=': str(time.ctime(int(entry['timestamp']))),
          'src=': entry['ip'],
          'dhost=': entry['host'],
          'duser=': repr(entry['username']).lstrip("u").strip("'"),
          'outcome=': entry['result'],
          'cs1Label=': 'new_enrollment',
          'cs1=': str(entry['new_enrollment']),
          'cs2Label=': 'factor',
          'cs2=': entry['factor'],
          'ca3Label=': 'integration',
          'cs3=': entry['integration'],
      }
  
      log_to_cef(entry['eventtype'], entry['eventtype'], **extension)
  </code></pre>
  
  <p>In line 5 (<code>rt=</code>), I would like to add the timestamp output to a variable where I can call it later in the script.</p>