<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: change Date gateway Configuration to get time stamp at the beginning of each line in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/change-Date-gateway-Configuration-to-get-time-stamp-at-the/m-p/48298#M3852</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can change your codec line to something like:&lt;BR /&gt;codec =&amp;gt; line { format =&amp;gt; "%{[event][EventData][StartDate]} %{[event]}" }&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25656.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25785iE2637E7E422AF3B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="25656.png" alt="25656.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;Which will give the StartDate of the session log, followed by a space, then the rest of the event data in JSON format.&lt;BR /&gt;&lt;BR /&gt;If you don't want the StartDate to be the first line, you can find all of the potential session log data fields can be found here:&lt;BR /&gt;&lt;A href="https://bpdocs.blueprism.com/bp-6-9/en-us/Guides/data-gateways/dg-config-file.htm?tocpath=Guides%7CData%20Gateways%7C_____10#Event" target="test_blank"&gt;https://bpdocs.blueprism.com/bp-6-9/en-us/Guides/data-gateways/dg-config-file.htm?tocpath=Guides%7CData%20Gateways%7C_____10#Event&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;James Man&lt;BR /&gt;Professional Services&lt;BR /&gt;Blue Prism&lt;BR /&gt;Asia/Hong_Kong&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 15 Sep 2020 00:53:00 GMT</pubDate>
    <dc:creator>james.man</dc:creator>
    <dc:date>2020-09-15T00:53:00Z</dc:date>
    <item>
      <title>change Date gateway Configuration to get time stamp at the beginning of each line</title>
      <link>https://community.blueprism.com/t5/Product-Forum/change-Date-gateway-Configuration-to-get-time-stamp-at-the/m-p/48297#M3851</link>
      <description>Hi Community&lt;BR /&gt;&lt;BR /&gt;I'm using Data-Gateway to write Logs in a file.&lt;BR /&gt;I didn't change the Default configuration:&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;if [event][EventType] == 1 or [event][EventType] == 4 or [event][EventType] == 3 {&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;file { &lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;path =&amp;gt; "D:\Log\Session-Queue_logs_%{+YYYY-MM-dd}.txt"&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;codec =&amp;gt; line { format =&amp;gt; "%{event}"}&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;}&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;}&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;I'm asking if there is a way to change the Configuration, in order to have the Time Stamp in the beginning of each Line in Logs?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Best regards,&lt;BR /&gt;Ayyoub&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ayyoub Benoudina&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Sep 2020 06:46:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/change-Date-gateway-Configuration-to-get-time-stamp-at-the/m-p/48297#M3851</guid>
      <dc:creator>AyyoubBenoudina</dc:creator>
      <dc:date>2020-09-11T06:46:00Z</dc:date>
    </item>
    <item>
      <title>RE: change Date gateway Configuration to get time stamp at the beginning of each line</title>
      <link>https://community.blueprism.com/t5/Product-Forum/change-Date-gateway-Configuration-to-get-time-stamp-at-the/m-p/48298#M3852</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can change your codec line to something like:&lt;BR /&gt;codec =&amp;gt; line { format =&amp;gt; "%{[event][EventData][StartDate]} %{[event]}" }&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25656.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25785iE2637E7E422AF3B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="25656.png" alt="25656.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;Which will give the StartDate of the session log, followed by a space, then the rest of the event data in JSON format.&lt;BR /&gt;&lt;BR /&gt;If you don't want the StartDate to be the first line, you can find all of the potential session log data fields can be found here:&lt;BR /&gt;&lt;A href="https://bpdocs.blueprism.com/bp-6-9/en-us/Guides/data-gateways/dg-config-file.htm?tocpath=Guides%7CData%20Gateways%7C_____10#Event" target="test_blank"&gt;https://bpdocs.blueprism.com/bp-6-9/en-us/Guides/data-gateways/dg-config-file.htm?tocpath=Guides%7CData%20Gateways%7C_____10#Event&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;James Man&lt;BR /&gt;Professional Services&lt;BR /&gt;Blue Prism&lt;BR /&gt;Asia/Hong_Kong&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Sep 2020 00:53:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/change-Date-gateway-Configuration-to-get-time-stamp-at-the/m-p/48298#M3852</guid>
      <dc:creator>james.man</dc:creator>
      <dc:date>2020-09-15T00:53:00Z</dc:date>
    </item>
  </channel>
</rss>

