rsyslog config to store only raw message ($msg) to a file
<p>How can I store only the <strong><em>raw message</em></strong> to a file?<br>
E.g.:<br>
I received a message via <strong>rsyslog</strong>:  </p>

<h2>Received syslog message:</h2>

<pre><code>May  4 13:18:47 xxxx apache-error: [Wed May 04 13:18:41.256596 2016] [:error] [pid 54583] [client 192.168.30.200:52638] script '/var/www/aaa.php' not found or unable to stat
</code></pre>

<p>I need a <em>rsyslog config</em> to extract raw message from input, <strong>without syslog header</strong> (highlighted bellow):</p>

<blockquote>
  <p>May  4 13:18:47 xxxx apache-error: <strong><em>[Wed May 04 13:18:41.256596 2016]
  [:error] [pid 54583] [client 192.168.30.200:52638] script
  '/var/www/aaa.php' not found or unable to stat</em></strong></p>
</blockquote>

<h2>expected Output:</h2>

<pre><code>[Wed May 04 13:18:41.256596 2016] [:error] [pid 54583] [client 192.168.30.200:52638] script '/var/www/aaa.php' not found or unable to stat
</code></pre>

<p>tnx!</p>