<?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: append a variable to a search without results in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/append-a-variable-to-a-search-without-results/m-p/90538#M6000</link>
    <description>&lt;P&gt;side view provided an answer there&lt;BR /&gt;
&lt;A href="http://splunk-base.splunk.com/answers/83344/conditional-eval-resultsvaluesetter"&gt;http://splunk-base.splunk.com/answers/83344/conditional-eval-resultsvaluesetter&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;In fact to add a row without results, we need a workaround by using a count, and hiding the field as : &lt;BR /&gt;
| stats count | fields - count | eval &lt;/P&gt;</description>
    <pubDate>Mon, 15 Apr 2013 16:23:56 GMT</pubDate>
    <dc:creator>sbsbb</dc:creator>
    <dc:date>2013-04-15T16:23:56Z</dc:date>
    <item>
      <title>append a variable to a search without results</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/append-a-variable-to-a-search-without-results/m-p/90535#M5997</link>
      <description>&lt;P&gt;I have a variable $var$, and want to display it a search result..&lt;/P&gt;

&lt;P&gt;Whe I make&lt;BR /&gt;
eval varSearch="test" | table varSearch&lt;/P&gt;

&lt;P&gt;There are "no events found" how can I do that ?&lt;/P&gt;

&lt;P&gt;Same problem when having a variable from upstream $var$ how can I use common eval function on that, and display it ?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2013 12:12:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/append-a-variable-to-a-search-without-results/m-p/90535#M5997</guid>
      <dc:creator>sbsbb</dc:creator>
      <dc:date>2013-04-11T12:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: append a variable to a search without results</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/append-a-variable-to-a-search-without-results/m-p/90536#M5998</link>
      <description>&lt;P&gt;if there is any "test" in event then its comes in table in variable varSearch&lt;BR /&gt;
-Kamal Bisht&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2013 05:29:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/append-a-variable-to-a-search-without-results/m-p/90536#M5998</guid>
      <dc:creator>kml_uvce</dc:creator>
      <dc:date>2013-04-13T05:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: append a variable to a search without results</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/append-a-variable-to-a-search-without-results/m-p/90537#M5999</link>
      <description>&lt;P&gt;I have no event at all, I want to affect a value to a new field, and see it as result ... Is that possible ?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2013 05:16:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/append-a-variable-to-a-search-without-results/m-p/90537#M5999</guid>
      <dc:creator>sbsbb</dc:creator>
      <dc:date>2013-04-15T05:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: append a variable to a search without results</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/append-a-variable-to-a-search-without-results/m-p/90538#M6000</link>
      <description>&lt;P&gt;side view provided an answer there&lt;BR /&gt;
&lt;A href="http://splunk-base.splunk.com/answers/83344/conditional-eval-resultsvaluesetter"&gt;http://splunk-base.splunk.com/answers/83344/conditional-eval-resultsvaluesetter&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;In fact to add a row without results, we need a workaround by using a count, and hiding the field as : &lt;BR /&gt;
| stats count | fields - count | eval &lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2013 16:23:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/append-a-variable-to-a-search-without-results/m-p/90538#M6000</guid>
      <dc:creator>sbsbb</dc:creator>
      <dc:date>2013-04-15T16:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: append a variable to a search without results</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/append-a-variable-to-a-search-without-results/m-p/90539#M6001</link>
      <description>&lt;P&gt;Does this is also supposed to work with a big xml $foo$ value ? I have a 1.3MB xml, I see it it Runtime debug, but I'm not pass it to the results, is it because of the quotes ?&lt;/P&gt;

&lt;P&gt;I've tried with $foo$ and $foo.rawValue$...&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2013 11:59:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/append-a-variable-to-a-search-without-results/m-p/90539#M6001</guid>
      <dc:creator>sbsbb</dc:creator>
      <dc:date>2013-04-16T11:59:26Z</dc:date>
    </item>
  </channel>
</rss>

