<?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: Merge two disjunct number fields into one in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Merge-two-disjunct-number-fields-into-one/m-p/227570#M67213</link>
    <description>&lt;P&gt;Thats it, thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 12 Aug 2016 11:23:11 GMT</pubDate>
    <dc:creator>mhornste</dc:creator>
    <dc:date>2016-08-12T11:23:11Z</dc:date>
    <item>
      <title>Merge two disjunct number fields into one</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-two-disjunct-number-fields-into-one/m-p/227568#M67211</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I had to switch from one DB Connect App to another which leads to two fields where I have my version information:&lt;/P&gt;

&lt;P&gt;AverageVersions2 &lt;BR /&gt;
AverageVersions&lt;/P&gt;

&lt;P&gt;both fields are disjunct regarding the data in it meaning that intil 10th of August, AverageVersions has data, after that AverageVersions2  has data. &lt;/P&gt;

&lt;P&gt;I now want to display the data in my graph showing all values. I tried the following without success:&lt;BR /&gt;
index=otcs sourcetype=OtcsAvgVersions | rename AverageVersions2 as output | rename AverageVersions as output | table _time output| reverse&lt;/P&gt;

&lt;P&gt;The problem is: the data from AverageVersions from 11th of August is not displayed.&lt;/P&gt;

&lt;P&gt;Can anyone help please?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 06:54:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-two-disjunct-number-fields-into-one/m-p/227568#M67211</guid>
      <dc:creator>mhornste</dc:creator>
      <dc:date>2016-08-12T06:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two disjunct number fields into one</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-two-disjunct-number-fields-into-one/m-p/227569#M67212</link>
      <description>&lt;P&gt;The &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/CommonEvalFunctions"&gt;eval coalesce function&lt;/A&gt; may be of use here, as the documentation states the function takes an arbitrary number of arguments and returns the first value that is not null. Maybe something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=otcs sourcetype=OtcsAvgVersions | eval output=coalesce(AverageVersions2,AverageVersions) | table _time output | reverse
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 08:54:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-two-disjunct-number-fields-into-one/m-p/227569#M67212</guid>
      <dc:creator>davebrooking</dc:creator>
      <dc:date>2016-08-12T08:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two disjunct number fields into one</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-two-disjunct-number-fields-into-one/m-p/227570#M67213</link>
      <description>&lt;P&gt;Thats it, thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 11:23:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-two-disjunct-number-fields-into-one/m-p/227570#M67213</guid>
      <dc:creator>mhornste</dc:creator>
      <dc:date>2016-08-12T11:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two disjunct number fields into one</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-two-disjunct-number-fields-into-one/m-p/227571#M67214</link>
      <description>&lt;P&gt;Be sure to click "Accept" on this Answer to close the Question.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2016 14:05:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-two-disjunct-number-fields-into-one/m-p/227571#M67214</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-08-15T14:05:14Z</dc:date>
    </item>
  </channel>
</rss>

