<?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 What is the SPL for cancelled / timed out searches? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-SPL-for-cancelled-timed-out-searches/m-p/626574#M217777</link>
    <description>&lt;P&gt;Hi everyone, I've a scenario where Splunk is timing out in querying customer SIEM environments and reporting as potential dropped logs.&lt;/P&gt;
&lt;P&gt;If I check in the customer's SIEM, I see that there are no dropped logs, so I know the issue is to do with Splunk querying their environment.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Knowing that, I am trying to craft an SPL that looks for searches that were canceled or timed out. Can someone help me with this?&lt;/P&gt;
&lt;P&gt;What I've tried using is below but it's not accurately correlating to the time stamps I am seeing in the ticket for my customer.&lt;/P&gt;
&lt;P&gt;Can someone help me build this out more.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=&amp;lt;customer name&amp;gt; cancelled&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jun 2023 13:07:38 GMT</pubDate>
    <dc:creator>McMac84</dc:creator>
    <dc:date>2023-06-06T13:07:38Z</dc:date>
    <item>
      <title>What is the SPL for cancelled / timed out searches?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-SPL-for-cancelled-timed-out-searches/m-p/626574#M217777</link>
      <description>&lt;P&gt;Hi everyone, I've a scenario where Splunk is timing out in querying customer SIEM environments and reporting as potential dropped logs.&lt;/P&gt;
&lt;P&gt;If I check in the customer's SIEM, I see that there are no dropped logs, so I know the issue is to do with Splunk querying their environment.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Knowing that, I am trying to craft an SPL that looks for searches that were canceled or timed out. Can someone help me with this?&lt;/P&gt;
&lt;P&gt;What I've tried using is below but it's not accurately correlating to the time stamps I am seeing in the ticket for my customer.&lt;/P&gt;
&lt;P&gt;Can someone help me build this out more.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=&amp;lt;customer name&amp;gt; cancelled&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 13:07:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-SPL-for-cancelled-timed-out-searches/m-p/626574#M217777</guid>
      <dc:creator>McMac84</dc:creator>
      <dc:date>2023-06-06T13:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: SPL for cancelled / timed out searches?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-SPL-for-cancelled-timed-out-searches/m-p/645836#M223605</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/250751"&gt;@McMac84&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Running searches are all logged to the _audit index - you can get details on cancelled searches there:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_audit action=search info IN("cancel","cancelled")
| timechart span=15m count by user limit=15&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe "cancel" is system-cancelled, and "cancelled" is user-cancelled, but that's just my guess based on &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Search/ViewsearchjobpropertieswiththeJobInspector#Search_job_properties" target="_self"&gt;this docs page&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 04:32:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-SPL-for-cancelled-timed-out-searches/m-p/645836#M223605</guid>
      <dc:creator>danspav</dc:creator>
      <dc:date>2023-06-06T04:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: SPL for cancelled / timed out searches?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-SPL-for-cancelled-timed-out-searches/m-p/645864#M223612</link>
      <description>&lt;P&gt;You could/should use MC on splunk. There is dashboards where you could look skipped and deferred searches.&lt;/P&gt;&lt;P&gt;Settings -&amp;gt; MC&lt;/P&gt;&lt;P&gt;Search -&amp;gt; Scheduler Activity -&amp;gt; Instance or Deployment based on your system&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 07:32:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-SPL-for-cancelled-timed-out-searches/m-p/645864#M223612</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-06-06T07:32:21Z</dc:date>
    </item>
  </channel>
</rss>

