<?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: List out the status enabled CS triggering in past X days.. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/List-out-the-status-enabled-CS-triggering-in-past-X-days/m-p/676948#M231495</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/33901"&gt;@yuanliu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;My goal is to identify status&amp;nbsp; enabled correlation searches that have triggered notables within the past 30 days.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2024 08:25:52 GMT</pubDate>
    <dc:creator>AL3Z</dc:creator>
    <dc:date>2024-02-08T08:25:52Z</dc:date>
    <item>
      <title>List out the status enabled CS triggering in past X days..</title>
      <link>https://community.splunk.com/t5/Splunk-Search/List-out-the-status-enabled-CS-triggering-in-past-X-days/m-p/676824#M231461</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;How we can modify the below search to get to see only the status enabled list of correlation searches which did not trigger a notable in past X days.&lt;/P&gt;&lt;P&gt;| rest /services/saved/searches&lt;BR /&gt;| search title="*Rule" action.notable=1&lt;BR /&gt;| fields title&lt;BR /&gt;| eval has_triggered_notables = "false"&lt;BR /&gt;| join type=outer title [&lt;BR /&gt;search index=notable search_name="*Rule" orig_action_name=notable&lt;BR /&gt;| stats count by search_name&lt;BR /&gt;| fields - count&lt;BR /&gt;| rename search_name as title&lt;BR /&gt;| eval has_triggered_notables = "true"&lt;BR /&gt;]&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 09:50:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/List-out-the-status-enabled-CS-triggering-in-past-X-days/m-p/676824#M231461</guid>
      <dc:creator>AL3Z</dc:creator>
      <dc:date>2024-02-07T09:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: List out the status enabled CS triggering in past X days..</title>
      <link>https://community.splunk.com/t5/Splunk-Search/List-out-the-status-enabled-CS-triggering-in-past-X-days/m-p/676896#M231475</link>
      <description>&lt;P&gt;Could you explain what's wrong with the original search? &amp;nbsp;What is expected and what is the actual results? &amp;nbsp;Importantly, what is the logic in your original search to meet your expectation?&lt;/P&gt;&lt;P&gt;If I have to read your mind based on the code snippet, you are saying that&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;the main search should give you searches that has NOT produced notables; (Question: Why you are searching for &lt;EM&gt;action.notable=1&lt;/EM&gt; not &lt;FONT face="courier new,courier"&gt;action.notable=0&lt;/FONT&gt;?)&lt;/LI&gt;&lt;LI&gt;the subsearch should give you searches that has produced notables; (Note: Nobody in this forum except yourself knows what the dataset looks like. &amp;nbsp;So, always explain dataset and logic.)&lt;/LI&gt;&lt;LI&gt;The difference between 1 and 2 would give you something?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If I put down whether action.notable should be 1 or 0, i.e., assuming that&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;has_triggered_notables = "false"&lt;/FONT&gt; is the correct label for the main search, it should have zero overlap with the subsearch which you labeled as&amp;nbsp;&lt;FONT face="courier new,courier"&gt;has_triggered_notables = "true"&lt;/FONT&gt;. &amp;nbsp;This means an outer join should give you everything in the main search. &amp;nbsp;Is this what you see? &amp;nbsp;Why would you expect anything different? &amp;nbsp;Again, nobody in the forum except yourself has that answer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maybe&amp;nbsp;&lt;FONT face="courier new,courier"&gt;action.notable&lt;/FONT&gt; is not something to indicate whether a notable is produced? &amp;nbsp;Maybe this field doesn't even exist? &amp;nbsp;You used the phrase "&lt;U&gt;status enabled&lt;/U&gt;" to describe your criteria. &amp;nbsp;But saved searches has no "enabled" or "not enabled" statuses. &amp;nbsp;Do you mean scheduled, as discernible&amp;nbsp;from&amp;nbsp;&lt;FONT face="courier new,courier"&gt;is_scheduled&lt;/FONT&gt; field, nothing to do with the nonexistent &lt;FONT face="courier new,courier"&gt;action.notable&lt;/FONT&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you ask an unanswerable question, no one is able to give you an answer. &amp;nbsp;And this one is full of hallmarks of unanswerable questions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Before I give up, let me make a final wild guess: By "enabled" you mean &lt;FONT face="courier new,courier"&gt;is_scheduled=1&lt;/FONT&gt;, there is nothing about &lt;FONT face="courier new,courier"&gt;action.notable&lt;/FONT&gt;, and that the subsearch actually does something as I speculated above (2). &amp;nbsp;In that case, this is a search you can try and tweak that doesn't involve an inefficient join.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rest /services/saved/searches
| search title="*Rule" is_scheduled=1 NOT
    [search index=notable search_name="*Rule" orig_action_name=notable
    | stats values(search_name) as title]
| fields title&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 07 Feb 2024 22:36:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/List-out-the-status-enabled-CS-triggering-in-past-X-days/m-p/676896#M231475</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2024-02-07T22:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: List out the status enabled CS triggering in past X days..</title>
      <link>https://community.splunk.com/t5/Splunk-Search/List-out-the-status-enabled-CS-triggering-in-past-X-days/m-p/676948#M231495</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/33901"&gt;@yuanliu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;My goal is to identify status&amp;nbsp; enabled correlation searches that have triggered notables within the past 30 days.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 08:25:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/List-out-the-status-enabled-CS-triggering-in-past-X-days/m-p/676948#M231495</guid>
      <dc:creator>AL3Z</dc:creator>
      <dc:date>2024-02-08T08:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: List out the status enabled CS triggering in past X days..</title>
      <link>https://community.splunk.com/t5/Splunk-Search/List-out-the-status-enabled-CS-triggering-in-past-X-days/m-p/677062#M231515</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;My goal is to identify status&amp;nbsp; enabled correlation searches that have triggered notables within the past 30 days.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This does not answer the questions:&amp;nbsp;&lt;SPAN&gt;Could you explain what's wrong with the original search? &amp;nbsp;What is expected and what is the actual results? (Illustrate with anonymized example/mockup. &amp;nbsp;Explain the difference between expected results and actual results from your search.) &amp;nbsp;Importantly, what is the logic in your original search to meet your expectation?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If you cannot illustrate your data input, expected results and actual results, and clearly explain the logic between illustrated data and expected results (without SPL), this is just a waste of volunteers' time. &amp;nbsp;No one can read your mind.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 10:51:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/List-out-the-status-enabled-CS-triggering-in-past-X-days/m-p/677062#M231515</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2024-02-09T10:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: List out the status enabled CS triggering in past X days..</title>
      <link>https://community.splunk.com/t5/Splunk-Search/List-out-the-status-enabled-CS-triggering-in-past-X-days/m-p/677065#M231516</link>
      <description>&lt;P&gt;Yeah, my mind-reading qualification lapsed during lock-down and I have not been able to find an authorised examiner in my area in order to re-sit the assessment.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 11:05:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/List-out-the-status-enabled-CS-triggering-in-past-X-days/m-p/677065#M231516</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-02-09T11:05:46Z</dc:date>
    </item>
  </channel>
</rss>

