<?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: Not really. The Archive in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-extract-save-and-send-process-logs-automatically/m-p/48969#M4445</link>
    <description>There is definitely a value in being able to extract the logs. The logs are sent to the process owners and operations team and sent over the SMTP server.&lt;BR /&gt;Developer should have visibility of the product runs in order to make sure that the job that they pushed to production runs as expected. Do you know the SQL query that is fired at the DB?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sandeep Satish&lt;BR /&gt;IT Architect&lt;BR /&gt;Agilent Technologies&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 02 Nov 2020 09:49:00 GMT</pubDate>
    <dc:creator>SandeepSatish</dc:creator>
    <dc:date>2020-11-02T09:49:00Z</dc:date>
    <item>
      <title>How to extract, save and send process logs automatically?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-extract-save-and-send-process-logs-automatically/m-p/48967#M4443</link>
      <description>Is there a way somewhere in the process or BO, that it extracts the BP process logs then save it to a text or csv file then send it via e-mail?</description>
      <pubDate>Mon, 17 Jul 2017 13:13:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-extract-save-and-send-process-logs-automatically/m-p/48967#M4443</guid>
      <dc:creator>RonAng</dc:creator>
      <dc:date>2017-07-17T13:13:00Z</dc:date>
    </item>
    <item>
      <title>Not really. The Archive</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-extract-save-and-send-process-logs-automatically/m-p/48968#M4444</link>
      <description>Not really. The Archive functionality can extract logs to flat files, but it's not designed to be part of a process. In theory you could query the DB directly but that would probably compromise your security model and put your DB at risk. Similarly, sending out potentially sensitive data via email is insecure.
The logs are very dense and verbose, and I would question their value to the uninitiated. Maybe a better approach would be to create a bespoke log that 1) you can control the content and 2) access more easily?</description>
      <pubDate>Mon, 17 Jul 2017 13:25:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-extract-save-and-send-process-logs-automatically/m-p/48968#M4444</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2017-07-17T13:25:00Z</dc:date>
    </item>
    <item>
      <title>RE: Not really. The Archive</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-extract-save-and-send-process-logs-automatically/m-p/48969#M4445</link>
      <description>There is definitely a value in being able to extract the logs. The logs are sent to the process owners and operations team and sent over the SMTP server.&lt;BR /&gt;Developer should have visibility of the product runs in order to make sure that the job that they pushed to production runs as expected. Do you know the SQL query that is fired at the DB?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sandeep Satish&lt;BR /&gt;IT Architect&lt;BR /&gt;Agilent Technologies&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Nov 2020 09:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-extract-save-and-send-process-logs-automatically/m-p/48969#M4445</guid>
      <dc:creator>SandeepSatish</dc:creator>
      <dc:date>2020-11-02T09:49:00Z</dc:date>
    </item>
    <item>
      <title>RE: Not really. The Archive</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-extract-save-and-send-process-logs-automatically/m-p/48970#M4446</link>
      <description>This is the SQL query I use for parsing logs, based on session number:&lt;BR /&gt;&lt;CODE&gt;Select 
	seqnum, 
	stagename, 
	processname, 
	pagename, 
	objectname, 
	actionname, 
	Result, 
	startdatetime 
From 
	BPASessionLog_NonUnicode 
Where
	SessionNumber = &amp;lt;session number here&amp;gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nicholas Zejdlik&lt;BR /&gt;RPA Developer&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Nov 2020 14:50:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-extract-save-and-send-process-logs-automatically/m-p/48970#M4446</guid>
      <dc:creator>NicholasZejdlik</dc:creator>
      <dc:date>2020-11-02T14:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to extract, save and send process logs automatically?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-extract-save-and-send-process-logs-automatically/m-p/48971#M4447</link>
      <description>Have you considered Data Gateways. I still haven't tested this specifically, but last I saw you could choose to have Data Gateways send to text files. Not sure how flexible it is or anything, but it's something to look into.&lt;BR /&gt;&lt;BR /&gt;Edit: I just noticed this post was resurrected from 2017. So, disclaimer, Data Gateways weren't available back then.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dave Morris&lt;BR /&gt;Cano Ai&lt;BR /&gt;Atlanta, GA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Nov 2020 15:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-extract-save-and-send-process-logs-automatically/m-p/48971#M4447</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2020-11-02T15:34:00Z</dc:date>
    </item>
    <item>
      <title>RE: Not really. The Archive</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-extract-save-and-send-process-logs-automatically/m-p/48972#M4448</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="e42d12b2-a3f6-4f36-a821-9db8ee48b837" data-tag-text="@Nicholas Zejdlik" href="https://community.blueprism.com/network/profile?UserKey=e42d12b2-a3f6-4f36-a821-9db8ee48b837" data-itemmentionkey="07a25f02-3584-42ec-aa86-cf54fe3b5e10"&gt;@Nicholas Zejdlik&lt;/A&gt; - Thanks a lot for sharing the query. Kindly suggest if there is a similar query to monitor log size created within a session? We want to monitor how much log size is one session of process generating to accordingly optimize logs.&amp;nbsp;​​​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mayank Goyal&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Nov 2020 07:59:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-extract-save-and-send-process-logs-automatically/m-p/48972#M4448</guid>
      <dc:creator>MayankGoyal2</dc:creator>
      <dc:date>2020-11-04T07:59:00Z</dc:date>
    </item>
    <item>
      <title>RE: Not really. The Archive</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-extract-save-and-send-process-logs-automatically/m-p/48973#M4449</link>
      <description>I think this should do it, I adapted from &lt;SPAN style="text-decoration: underline;"&gt;&lt;A href="https://dba.stackexchange.com/questions/25531/how-can-i-get-the-actual-data-size-per-row-in-a-sql-server-table" target="_blank" rel="noopener"&gt;this StackOverflow&lt;/A&gt;&lt;/SPAN&gt; answer. You may need to switch the table name based on whether or not your logs are unicode (BPASessionLog_NonUnicode vs BPASessionLog_Unicode). You can also join with the BPASession and BPAProcess tables if you would like the process name as well.&lt;BR /&gt;&lt;BR /&gt;Select&lt;BR /&gt;sessionnumber,&lt;BR /&gt;Sum(&lt;BR /&gt;IsNull(DataLength(sessionnumber), 1) &lt;BR /&gt;+ IsNull(DataLength(seqnum), 1) &lt;BR /&gt;+ IsNull(DataLength(stageid), 1) &lt;BR /&gt;+ IsNull(DataLength(stagename), 1) &lt;BR /&gt;+ IsNull(DataLength(stagetype), 1) &lt;BR /&gt;+ IsNull(DataLength(processname), 1) &lt;BR /&gt;+ IsNull(DataLength(pagename), 1) &lt;BR /&gt;+ IsNull(DataLength(objectname), 1) &lt;BR /&gt;+ IsNull(DataLength(actionname), 1) &lt;BR /&gt;+ IsNull(DataLength(result), 1) &lt;BR /&gt;+ IsNull(DataLength(resulttype), 1) &lt;BR /&gt;+ IsNull(DataLength(startdatetime), 1) &lt;BR /&gt;+ IsNull(DataLength(enddatetime), 1)&lt;BR /&gt;+ IsNull(DataLength(attributexml), 1) &lt;BR /&gt;+ IsNull(DataLength(automateworkingset), 1) &lt;BR /&gt;+ IsNull(DataLength(targetappname), 1) &lt;BR /&gt;+ IsNull(DataLength(targetappworkingset), 1)&lt;BR /&gt;) session_log_size&lt;BR /&gt;From&lt;BR /&gt;BPASessionLog_NonUnicode&lt;BR /&gt;Group By &lt;BR /&gt;sessionnumber&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nicholas Zejdlik&lt;BR /&gt;RPA Developer&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Nov 2020 15:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-extract-save-and-send-process-logs-automatically/m-p/48973#M4449</guid>
      <dc:creator>NicholasZejdlik</dc:creator>
      <dc:date>2020-11-04T15:09:00Z</dc:date>
    </item>
    <item>
      <title>RE: Not really. The Archive</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-extract-save-and-send-process-logs-automatically/m-p/48974#M4450</link>
      <description>Getting an error when joining to know which process is consuming maximum space. Could you please provide to query to find out which process is logging maxiumum&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Saiful Khan&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Jun 2022 07:40:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-extract-save-and-send-process-logs-automatically/m-p/48974#M4450</guid>
      <dc:creator>SaifulKhan</dc:creator>
      <dc:date>2022-06-03T07:40:00Z</dc:date>
    </item>
  </channel>
</rss>

