<?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: Where to store a variable value in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Where-to-store-a-variable-value/m-p/80248#M20289</link>
    <description>&lt;P&gt;You can create a macro here Manager » Advanced search » Search macros&lt;/P&gt;

&lt;P&gt;Name of the macro - x&lt;/P&gt;

&lt;P&gt;Definition of the macro - the value of x (Eg: 5)&lt;/P&gt;

&lt;P&gt;In your search &lt;PRE&gt;sourcetype=some_sourcetype  fieldname &amp;gt; `x`&lt;/PRE&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Oct 2013 20:11:39 GMT</pubDate>
    <dc:creator>pradeepkumarg</dc:creator>
    <dc:date>2013-10-02T20:11:39Z</dc:date>
    <item>
      <title>Where to store a variable value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-to-store-a-variable-value/m-p/80247#M20288</link>
      <description>&lt;P&gt;I want to search for all records where some field value is greater than X where X is some number. A number of searches reference this same value of X. Where can I store that value of X so that I don't have to change all searches that are referencing it when I need to change X to some different value?  Namely, I don't want to have to hard code that value.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2013 19:51:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-to-store-a-variable-value/m-p/80247#M20288</guid>
      <dc:creator>RVDowning</dc:creator>
      <dc:date>2013-10-02T19:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Where to store a variable value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-to-store-a-variable-value/m-p/80248#M20289</link>
      <description>&lt;P&gt;You can create a macro here Manager » Advanced search » Search macros&lt;/P&gt;

&lt;P&gt;Name of the macro - x&lt;/P&gt;

&lt;P&gt;Definition of the macro - the value of x (Eg: 5)&lt;/P&gt;

&lt;P&gt;In your search &lt;PRE&gt;sourcetype=some_sourcetype  fieldname &amp;gt; `x`&lt;/PRE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2013 20:11:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-to-store-a-variable-value/m-p/80248#M20289</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2013-10-02T20:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Where to store a variable value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-to-store-a-variable-value/m-p/80249#M20290</link>
      <description>&lt;P&gt;Ah, thank you much!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2013 20:19:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-to-store-a-variable-value/m-p/80249#M20290</guid>
      <dc:creator>RVDowning</dc:creator>
      <dc:date>2013-10-02T20:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Where to store a variable value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-to-store-a-variable-value/m-p/80250#M20291</link>
      <description>&lt;P&gt;Sure. You can mark it as answered if that solved your problem &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2013 02:08:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-to-store-a-variable-value/m-p/80250#M20291</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2013-10-03T02:08:32Z</dc:date>
    </item>
  </channel>
</rss>

