<?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: Reusable knowledge objects in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Reusable-knowledge-objects/m-p/197769#M57172</link>
    <description>&lt;P&gt;I refer the doc foe EVAL statement. When i create a calculated field using EVAL statement , this can be reused right?&lt;/P&gt;

&lt;P&gt;Is this a available as a index time extracted field/search time ? I am little confused in this. Please advise.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;EVAL-&amp;lt;fieldname&amp;gt; = &amp;lt;eval statement&amp;gt;
* Use this to automatically run the &amp;lt;eval statement&amp;gt; and assign the value of the output 
  to &amp;lt;fieldname&amp;gt;. This creates a "calculated field."
* When multiple EVAL-* statements are specified, they behave as if 
  they are run in parallel, rather than in any particular sequence.  
  For example say you have two statements: EVAL-x = y*2 and EVAL-y=100. In this case, "x" 
  will be assigned the original value of "y * 2," not the value of "y" after it is set to 100.
* Splunk processes calculated fields after field extraction and field aliasing but before 
  lookups. This means that:
        * You can use a field alias in the eval statement for a calculated field.
        * You cannot use a field added through a lookup in an eval statement for a calculated
          field.       
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;eg:&lt;BR /&gt;
EVAL-Result=Price+Tax&lt;/P&gt;

&lt;P&gt;Can Result value be re-used?&lt;/P&gt;</description>
    <pubDate>Wed, 12 Nov 2014 13:24:33 GMT</pubDate>
    <dc:creator>splunker12er</dc:creator>
    <dc:date>2014-11-12T13:24:33Z</dc:date>
    <item>
      <title>Reusable knowledge objects</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reusable-knowledge-objects/m-p/197767#M57170</link>
      <description>&lt;P&gt;Fields created using the below methods will persist as a knowledge objects  and are reusable  in multiple searches ?&lt;/P&gt;

&lt;P&gt;rex&lt;BR /&gt;
erex&lt;BR /&gt;
Interactive field extractor&lt;BR /&gt;
eval&lt;BR /&gt;
multikv&lt;/P&gt;

&lt;P&gt;please help me in this, multiple answers..&lt;/P&gt;</description>
      <pubDate>Sat, 08 Nov 2014 14:18:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reusable-knowledge-objects/m-p/197767#M57170</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2014-11-08T14:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Reusable knowledge objects</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reusable-knowledge-objects/m-p/197768#M57171</link>
      <description>&lt;P&gt;rex, erex, eval, and multikv are all search commands so their effect is limited to that search. The ifx stores the extractions in the configuration, those fields will be usable in other searches where permissions allow.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Nov 2014 15:19:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reusable-knowledge-objects/m-p/197768#M57171</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-11-08T15:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Reusable knowledge objects</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reusable-knowledge-objects/m-p/197769#M57172</link>
      <description>&lt;P&gt;I refer the doc foe EVAL statement. When i create a calculated field using EVAL statement , this can be reused right?&lt;/P&gt;

&lt;P&gt;Is this a available as a index time extracted field/search time ? I am little confused in this. Please advise.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;EVAL-&amp;lt;fieldname&amp;gt; = &amp;lt;eval statement&amp;gt;
* Use this to automatically run the &amp;lt;eval statement&amp;gt; and assign the value of the output 
  to &amp;lt;fieldname&amp;gt;. This creates a "calculated field."
* When multiple EVAL-* statements are specified, they behave as if 
  they are run in parallel, rather than in any particular sequence.  
  For example say you have two statements: EVAL-x = y*2 and EVAL-y=100. In this case, "x" 
  will be assigned the original value of "y * 2," not the value of "y" after it is set to 100.
* Splunk processes calculated fields after field extraction and field aliasing but before 
  lookups. This means that:
        * You can use a field alias in the eval statement for a calculated field.
        * You cannot use a field added through a lookup in an eval statement for a calculated
          field.       
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;eg:&lt;BR /&gt;
EVAL-Result=Price+Tax&lt;/P&gt;

&lt;P&gt;Can Result value be re-used?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 13:24:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reusable-knowledge-objects/m-p/197769#M57172</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2014-11-12T13:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Reusable knowledge objects</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reusable-knowledge-objects/m-p/197770#M57173</link>
      <description>&lt;P&gt;Guess the answer should be Eval and IFX.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 13:37:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reusable-knowledge-objects/m-p/197770#M57173</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2014-11-12T13:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Reusable knowledge objects</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reusable-knowledge-objects/m-p/197771#M57174</link>
      <description>&lt;P&gt;Yes, if you add this &lt;CODE&gt;EVAL&lt;/CODE&gt; statement to a &lt;CODE&gt;props.conf&lt;/CODE&gt; file and restart Splunk, you will be able to use the result everywhere that has visibility to that &lt;CODE&gt;props.conf&lt;/CODE&gt; file. So if you add it to Splunk's main one, or to an app being shared globally, it will be usable everywhere.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 14:50:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reusable-knowledge-objects/m-p/197771#M57174</guid>
      <dc:creator>aweitzman</dc:creator>
      <dc:date>2014-11-12T14:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Reusable knowledge objects</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reusable-knowledge-objects/m-p/197772#M57175</link>
      <description>&lt;P&gt;For more information about reusing eval statements, see this topic on calculated fields: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/definecalcfields"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/definecalcfields&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 19:06:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reusable-knowledge-objects/m-p/197772#M57175</guid>
      <dc:creator>mattness</dc:creator>
      <dc:date>2014-11-12T19:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Reusable knowledge objects</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reusable-knowledge-objects/m-p/197773#M57176</link>
      <description>&lt;P&gt;Answer:&lt;BR /&gt;
   1. Interactive field extractor&lt;BR /&gt;
   2. EVAL&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2014 06:05:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reusable-knowledge-objects/m-p/197773#M57176</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2014-11-13T06:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Reusable knowledge objects</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reusable-knowledge-objects/m-p/197774#M57177</link>
      <description>&lt;P&gt;To clarify for future generations, this refers to eval as the props.conf setting for calculated fields, not to eval the search command.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2014 08:03:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reusable-knowledge-objects/m-p/197774#M57177</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-11-13T08:03:30Z</dc:date>
    </item>
  </channel>
</rss>

