<?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 Conditional SPL in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Conditional-SPL/m-p/397045#M3420</link>
    <description>&lt;P&gt;How do you build a query that takes two different SPL paths based on a condition within the data?  Example:  Write the results of a query to a summary index only if the search name does not begin with "TEST"?&lt;/P&gt;</description>
    <pubDate>Mon, 25 Feb 2019 14:53:00 GMT</pubDate>
    <dc:creator>japger_splunk</dc:creator>
    <dc:date>2019-02-25T14:53:00Z</dc:date>
    <item>
      <title>Conditional SPL</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Conditional-SPL/m-p/397045#M3420</link>
      <description>&lt;P&gt;How do you build a query that takes two different SPL paths based on a condition within the data?  Example:  Write the results of a query to a summary index only if the search name does not begin with "TEST"?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 14:53:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Conditional-SPL/m-p/397045#M3420</guid>
      <dc:creator>japger_splunk</dc:creator>
      <dc:date>2019-02-25T14:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional SPL</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Conditional-SPL/m-p/397046#M3421</link>
      <description>&lt;P&gt;Use multireport to steer your search down the desired path.&lt;/P&gt;

&lt;P&gt;| makeresults 1&lt;BR /&gt;
|eval search_name="TEST-RiskRule - DDNS Activity Detected - System"&lt;BR /&gt;
|multireport [|search NOT search_name="TEST*"|collect index=myindex] [|search search_name="TEST*"|collect index=myindex testmode=true]&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:20:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Conditional-SPL/m-p/397046#M3421</guid>
      <dc:creator>japger_splunk</dc:creator>
      <dc:date>2020-09-29T23:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional SPL</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Conditional-SPL/m-p/397047#M3422</link>
      <description>&lt;P&gt;if you have a summary generating search with search_name!=TEST*  will that not work for you?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 14:54:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Conditional-SPL/m-p/397047#M3422</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2019-02-25T14:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional SPL</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Conditional-SPL/m-p/397048#M3423</link>
      <description>&lt;P&gt;Good point.  I believe your example is a one-way condition but please correct me if I misunderstand.  "Only do this if this condition is met" versus "Do this if it's met or do this if it's not met".  &lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 14:59:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Conditional-SPL/m-p/397048#M3423</guid>
      <dc:creator>japger_splunk</dc:creator>
      <dc:date>2019-02-25T14:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional SPL</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Conditional-SPL/m-p/397049#M3424</link>
      <description>&lt;P&gt;I normally prefer to write "only do this if this condition is met", so I know the condition/scenario of the search and helps in troubleshooting.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 15:17:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Conditional-SPL/m-p/397049#M3424</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2019-02-25T15:17:15Z</dc:date>
    </item>
  </channel>
</rss>

