<?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: Populate predefined field for found strings in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Populate-predefined-field-for-found-strings/m-p/80046#M20241</link>
    <description>&lt;P&gt;You could do something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval B = case(search finds error "500", "test1", search finds error "400", "test2)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 30 Mar 2013 19:34:20 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2013-03-30T19:34:20Z</dc:date>
    <item>
      <title>Populate predefined field for found strings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Populate-predefined-field-for-found-strings/m-p/80045#M20240</link>
      <description>&lt;P&gt;Good Day,&lt;/P&gt;

&lt;P&gt;I'm attempting to create a label for different search responses.&lt;/P&gt;

&lt;P&gt;Example:&lt;BR /&gt;
if search 'A' finds error "500", Field B. is populated with "test1"&lt;BR /&gt;
if search 'A' finds error "400", Field B. is populated with "test2"&lt;/P&gt;

&lt;P&gt;and soo on.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Mar 2013 14:13:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Populate-predefined-field-for-found-strings/m-p/80045#M20240</guid>
      <dc:creator>subtrakt</dc:creator>
      <dc:date>2013-03-30T14:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Populate predefined field for found strings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Populate-predefined-field-for-found-strings/m-p/80046#M20241</link>
      <description>&lt;P&gt;You could do something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval B = case(search finds error "500", "test1", search finds error "400", "test2)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 30 Mar 2013 19:34:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Populate-predefined-field-for-found-strings/m-p/80046#M20241</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-03-30T19:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Populate predefined field for found strings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Populate-predefined-field-for-found-strings/m-p/80047#M20242</link>
      <description>&lt;P&gt;thanks.  any idea how to tell it to only display if 400 are greater than 350 count?&lt;/P&gt;</description>
      <pubDate>Sun, 31 Mar 2013 12:05:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Populate-predefined-field-for-found-strings/m-p/80047#M20242</guid>
      <dc:creator>subtrakt</dc:creator>
      <dc:date>2013-03-31T12:05:41Z</dc:date>
    </item>
  </channel>
</rss>

