<?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: Audit Log Query in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Audit-Log-Query/m-p/113778#M50896</link>
    <description>&lt;P&gt;I see. No worries. I'll describe some things below that may help you in the right direction. But just recognize that typically it is not recommended to do your own queries against the Blue Prism database. So, you ideally should limit how often you do this kind of thing. That said, I have found many times that I just don't have any other option for certain functionality without directly querying the database. I should also mention that it's been suggested you should replicate/copy your database and query the copy. But SQL Server can handle a lot, so it's probably fine.&lt;BR /&gt;&lt;BR /&gt;So, there are some pieces of information you need to find out that the database administrator (DBA) could help you find out:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Database Server Name&lt;/LI&gt;&lt;LI&gt;Database Name&lt;/LI&gt;&lt;LI&gt;How to authenticate (maybe a special username/password with Read-only access or your own ID may be given read access)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I recommend you test this out in an environment that is not important first. For example, on your home computer, you could set up the Learning Edition since you'll have full access to the database there.&lt;BR /&gt;&lt;BR /&gt;Download/install SQL Server Management Studio (SSMS):&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;When you open SSMS, it will ask you to enter login details. This is where you'll input the Database Server Name and authentication details. This part I can't really help you with directly for real databases because I won't know any of those details. But for the Learning Edition, most likely the details will be this:&lt;BR /&gt;Server Name: (LocalDB)\BluePrismLocalDB&lt;BR /&gt;Authentication: Windows Authentication&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SSMS_BPLearningEdition.jpg" style="width: 466px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39335iB771939FABD00A18/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="SSMS_BPLearningEdition.jpg" alt="SSMS_BPLearningEdition.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Once you've connected, expand the nodes out like this: (LocalDB)\BluePrismLocalDB &amp;gt; Databases &amp;gt; BluePrism &amp;gt; Tables &amp;gt; dbo.BPAAuditEvents&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="davidlmorris_1-1726072728721.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39337iAA7570BBD1C43AB8/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="davidlmorris_1-1726072728721.png" alt="davidlmorris_1-1726072728721.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can then right click on dbo.BPAAuditEvents and choose "Select Top 1000 Rows" which will open a query window and will do a quick query that will look like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="davidlmorris_2-1726072831143.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39338i887D79035D500C95/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="davidlmorris_2-1726072831143.png" alt="davidlmorris_2-1726072831143.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;From here, you can play around with determining exactly which fields you want and such. I don't know what purpose you're doing this for so I don't know how to suggest further steps. You could call this query from inside a Blue Prism process, a PowerShell script, or just manually go do these queries in SSMS periodically. But if you're just going to look at a particular user's activity, you can and should prefer doing that from in the Blue Prism UI.&lt;/P&gt;&lt;P&gt;Edit: One final thing I'll suggest. I assume you're new to SQL queries. A solid way to search for how to do queries is to just always include "SQL Server Query" or something like that in your search term. I believe it's called Transact SQL or T-SQL, but I've always found I can ignore that concept and just search for queries that work in SQL Server and then type whatever I need like "SQL Server Query two tables" or "SQL Server Query filter by date range", and there are many articles and posts online about this kind of thing.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Sep 2024 16:45:12 GMT</pubDate>
    <dc:creator>david.l.morris</dc:creator>
    <dc:date>2024-09-11T16:45:12Z</dc:date>
    <item>
      <title>Audit Log Query</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Audit-Log-Query/m-p/113723#M50882</link>
      <description>&lt;P&gt;Hey guys! how are you? I hope everything is ok!&lt;/P&gt;&lt;P&gt;I need guidance on how to consult user information by consulting the audit log, ex:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jrwork_0-1725998496722.png" style="width: 574px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39319iA5A4CA9D08DBB288/image-dimensions/574x207/is-moderation-mode/true?v=v2" width="574" height="207" role="button" title="Jrwork_0-1725998496722.png" alt="Jrwork_0-1725998496722.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;In this case, I need to consult the user "ual.jbj" on a specific day and thus analyze the performance logs on the server.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Can anyone advise how to query this table?&lt;/P&gt;&lt;P&gt;thank you very much!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 20:02:48 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Audit-Log-Query/m-p/113723#M50882</guid>
      <dc:creator>Jrwork</dc:creator>
      <dc:date>2024-09-10T20:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Audit Log Query</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Audit-Log-Query/m-p/113727#M50883</link>
      <description>&lt;P&gt;Can you explain in more detail what you're looking for? You showed a screenshot of searching in the audit log. That is the way to search it. Are you talking about querying the database table directly? And, if so, explain what you've tried that didn't work or what specifically you're unsure how to do. For example, are you unsure how to connect to the database? Are you unsure how to form SQL queries? Are you unsure what the table name is?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 03:06:49 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Audit-Log-Query/m-p/113727#M50883</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2024-09-11T03:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Audit Log Query</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Audit-Log-Query/m-p/113759#M50892</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/2590"&gt;@david.l.morris&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello! I just didn't express myself with the details, I'll pay attention next time!&lt;/P&gt;&lt;P&gt;Not sure what the name of the table is? So, I'm not sure how to form the SQl query for this table (I don't know what it is yet).&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 11:01:46 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Audit-Log-Query/m-p/113759#M50892</guid>
      <dc:creator>Jrwork</dc:creator>
      <dc:date>2024-09-11T11:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Audit Log Query</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Audit-Log-Query/m-p/113778#M50896</link>
      <description>&lt;P&gt;I see. No worries. I'll describe some things below that may help you in the right direction. But just recognize that typically it is not recommended to do your own queries against the Blue Prism database. So, you ideally should limit how often you do this kind of thing. That said, I have found many times that I just don't have any other option for certain functionality without directly querying the database. I should also mention that it's been suggested you should replicate/copy your database and query the copy. But SQL Server can handle a lot, so it's probably fine.&lt;BR /&gt;&lt;BR /&gt;So, there are some pieces of information you need to find out that the database administrator (DBA) could help you find out:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Database Server Name&lt;/LI&gt;&lt;LI&gt;Database Name&lt;/LI&gt;&lt;LI&gt;How to authenticate (maybe a special username/password with Read-only access or your own ID may be given read access)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I recommend you test this out in an environment that is not important first. For example, on your home computer, you could set up the Learning Edition since you'll have full access to the database there.&lt;BR /&gt;&lt;BR /&gt;Download/install SQL Server Management Studio (SSMS):&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;When you open SSMS, it will ask you to enter login details. This is where you'll input the Database Server Name and authentication details. This part I can't really help you with directly for real databases because I won't know any of those details. But for the Learning Edition, most likely the details will be this:&lt;BR /&gt;Server Name: (LocalDB)\BluePrismLocalDB&lt;BR /&gt;Authentication: Windows Authentication&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SSMS_BPLearningEdition.jpg" style="width: 466px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39335iB771939FABD00A18/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="SSMS_BPLearningEdition.jpg" alt="SSMS_BPLearningEdition.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Once you've connected, expand the nodes out like this: (LocalDB)\BluePrismLocalDB &amp;gt; Databases &amp;gt; BluePrism &amp;gt; Tables &amp;gt; dbo.BPAAuditEvents&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="davidlmorris_1-1726072728721.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39337iAA7570BBD1C43AB8/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="davidlmorris_1-1726072728721.png" alt="davidlmorris_1-1726072728721.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can then right click on dbo.BPAAuditEvents and choose "Select Top 1000 Rows" which will open a query window and will do a quick query that will look like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="davidlmorris_2-1726072831143.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39338i887D79035D500C95/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="davidlmorris_2-1726072831143.png" alt="davidlmorris_2-1726072831143.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;From here, you can play around with determining exactly which fields you want and such. I don't know what purpose you're doing this for so I don't know how to suggest further steps. You could call this query from inside a Blue Prism process, a PowerShell script, or just manually go do these queries in SSMS periodically. But if you're just going to look at a particular user's activity, you can and should prefer doing that from in the Blue Prism UI.&lt;/P&gt;&lt;P&gt;Edit: One final thing I'll suggest. I assume you're new to SQL queries. A solid way to search for how to do queries is to just always include "SQL Server Query" or something like that in your search term. I believe it's called Transact SQL or T-SQL, but I've always found I can ignore that concept and just search for queries that work in SQL Server and then type whatever I need like "SQL Server Query two tables" or "SQL Server Query filter by date range", and there are many articles and posts online about this kind of thing.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 16:45:12 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Audit-Log-Query/m-p/113778#M50896</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2024-09-11T16:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Audit Log Query</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Audit-Log-Query/m-p/113782#M50900</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/2590"&gt;@david.l.morris&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Master, thank you very much!&lt;/P&gt;&lt;P&gt;You explained it in a very detailed way and it was possible to carry out a consultation and capture the information I needed, thank you very much!&lt;/P&gt;&lt;P&gt;I selected it as the best answer and once again, &lt;STRONG&gt;THANK YOU!!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 18:40:30 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Audit-Log-Query/m-p/113782#M50900</guid>
      <dc:creator>Jrwork</dc:creator>
      <dc:date>2024-09-11T18:40:30Z</dc:date>
    </item>
  </channel>
</rss>

