<?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: Need help with XQL query to report deleted files in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/need-help-with-xql-query-to-report-deleted-files/m-p/548382#M4704</link>
    <description>&lt;P&gt;Dear&amp;nbsp;&lt;A id="link_29" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/190764" target="_self" aria-label="View Profile of eluis"&gt;&lt;SPAN class=""&gt;Eluis&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;One more question - please can we further filter the query by ext, for example "doc", "docx", "ppt". "pptx", etc etc?&lt;/P&gt;
&lt;P&gt;Thank you very much&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jul 2023 09:20:12 GMT</pubDate>
    <dc:creator>chinsiongwong</dc:creator>
    <dc:date>2023-07-06T09:20:12Z</dc:date>
    <item>
      <title>Need help with XQL query to report deleted files</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/need-help-with-xql-query-to-report-deleted-files/m-p/548170#M4692</link>
      <description>&lt;P&gt;Dear Sir,&lt;/P&gt;
&lt;P&gt;Please if anyone can help to advise the XQL query to create a custom report to capture the "File Delete" activities in one particular server?&lt;/P&gt;
&lt;P&gt;I know we can create the same from Query Builder, but from Query Builder it will only return 10,000 records. In addition, we not able to email the result as attachment (or if i am wrong with this understanding?).&lt;/P&gt;
&lt;P&gt;Any help and advise is very appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 01:02:45 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/need-help-with-xql-query-to-report-deleted-files/m-p/548170#M4692</guid>
      <dc:creator>chinsiongwong</dc:creator>
      <dc:date>2023-07-05T01:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with XQL query to report deleted files</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/need-help-with-xql-query-to-report-deleted-files/m-p/548231#M4694</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/197591"&gt;@chinsiongwong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks for writing us in LiveCommunity.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try the following XQL query&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dataset =xdr_data
| filter event_type = ENUM.FILE and event_sub_type = FILE_REMOVE and agent_hostname_here = "your_server_hostname "
| fields agent_hostname, agent_version, action_file_path , event_sub_type, event_type
| dedup action_file_path
| limit 1000 &lt;/LI-CODE&gt;
&lt;P&gt;. Please notice that: You can use this query and save it as a widget and save the results as csv file which can be exported in from of reports&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The limit = 1000 will limit your results. If results are bigger than 20MB you wont be able to export them.&lt;/P&gt;
&lt;P&gt;Replace your_server_hostname by the name of your server you want to monitor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please granularity your reports as much as you can/want&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps. Mark this as a solution if it helps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;KR,&lt;/P&gt;
&lt;P&gt;Luis&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 11:11:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/need-help-with-xql-query-to-report-deleted-files/m-p/548231#M4694</guid>
      <dc:creator>eluis</dc:creator>
      <dc:date>2023-07-05T11:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with XQL query to report deleted files</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/need-help-with-xql-query-to-report-deleted-files/m-p/548382#M4704</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;A id="link_29" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/190764" target="_self" aria-label="View Profile of eluis"&gt;&lt;SPAN class=""&gt;Eluis&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;One more question - please can we further filter the query by ext, for example "doc", "docx", "ppt". "pptx", etc etc?&lt;/P&gt;
&lt;P&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 09:20:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/need-help-with-xql-query-to-report-deleted-files/m-p/548382#M4704</guid>
      <dc:creator>chinsiongwong</dc:creator>
      <dc:date>2023-07-06T09:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with XQL query to report deleted files</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/need-help-with-xql-query-to-report-deleted-files/m-p/548501#M4713</link>
      <description>&lt;P&gt;Please ignore this. Got it works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 07:01:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/need-help-with-xql-query-to-report-deleted-files/m-p/548501#M4713</guid>
      <dc:creator>chinsiongwong</dc:creator>
      <dc:date>2023-07-07T07:01:08Z</dc:date>
    </item>
  </channel>
</rss>

