<?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: Appendcols - Issue in the output of the query in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Appendcols-Issue-in-the-output-of-the-query/m-p/545295#M90924</link>
    <description>&lt;P&gt;Is your subsearch getting truncated due to limits on subsearches?&lt;/P&gt;</description>
    <pubDate>Thu, 25 Mar 2021 08:57:47 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2021-03-25T08:57:47Z</dc:date>
    <item>
      <title>Appendcols - Issue in the output of the query</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Appendcols-Issue-in-the-output-of-the-query/m-p/545287#M90923</link>
      <description>&lt;P&gt;Query1 : index="*" earliest=-1mon@mon latest=@mon&lt;BR /&gt;| stats count&lt;/P&gt;&lt;P&gt;O/P : 25,419,925,723&lt;/P&gt;&lt;P&gt;Query2 : index="*" earliest=-2mon@mon latest=-1mon@mon&lt;BR /&gt;| stats count as Twomonthsbeforecount&lt;BR /&gt;| appendcols&lt;BR /&gt;[ search index="*" earliest=-1mon@mon latest=@mon&lt;BR /&gt;| stats count as Onemonthbeforecount ]&lt;BR /&gt;| eval Difference=Onemonthbeforecount-Twomonthsbeforecount&lt;BR /&gt;| table Difference Onemonthbeforecount Twomonthsbeforecount&lt;/P&gt;&lt;P&gt;O/P :&lt;/P&gt;&lt;TABLE width="396"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="91"&gt;Difference&lt;/TD&gt;&lt;TD width="149"&gt;Onemonthbeforecount&lt;/TD&gt;&lt;TD width="156"&gt;Twomonthsbeforecount&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="91"&gt;-26541517755&lt;/TD&gt;&lt;TD&gt;169524875&lt;/TD&gt;&lt;TD&gt;26711042630&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Query 1 output should match the Query 2 "Onemonthbeforecount " column value, but why is it differing? Am i missing out something to check?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 07:43:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Appendcols-Issue-in-the-output-of-the-query/m-p/545287#M90923</guid>
      <dc:creator>vn_g</dc:creator>
      <dc:date>2021-03-25T07:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Appendcols - Issue in the output of the query</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Appendcols-Issue-in-the-output-of-the-query/m-p/545295#M90924</link>
      <description>&lt;P&gt;Is your subsearch getting truncated due to limits on subsearches?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 08:57:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Appendcols-Issue-in-the-output-of-the-query/m-p/545295#M90924</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-03-25T08:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Appendcols - Issue in the output of the query</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Appendcols-Issue-in-the-output-of-the-query/m-p/545296#M90925</link>
      <description>&lt;P&gt;No I don’t see any DAG execution error&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 09:04:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Appendcols-Issue-in-the-output-of-the-query/m-p/545296#M90925</guid>
      <dc:creator>vn_g</dc:creator>
      <dc:date>2021-03-25T09:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Appendcols - Issue in the output of the query</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Appendcols-Issue-in-the-output-of-the-query/m-p/545329#M90927</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/40398"&gt;@vn_g&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Can you try with tstats?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats count as Twomonthsbeforecount where index="*" earliest=-2mon@mon latest=-1mon@mon
| appendcols
[ tstats count as Onemonthbeforecount where index="*" earliest=-1mon@mon latest=@mon ]
| eval Difference=Onemonthbeforecount-Twomonthsbeforecount
| table Difference Onemonthbeforecount Twomonthsbeforecount&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 25 Mar 2021 10:37:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Appendcols-Issue-in-the-output-of-the-query/m-p/545329#M90927</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-03-25T10:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Appendcols - Issue in the output of the query</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Appendcols-Issue-in-the-output-of-the-query/m-p/545346#M90932</link>
      <description>&lt;P&gt;Yes, this helped. Thankyou so much&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 11:03:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Appendcols-Issue-in-the-output-of-the-query/m-p/545346#M90932</guid>
      <dc:creator>vn_g</dc:creator>
      <dc:date>2021-03-25T11:03:16Z</dc:date>
    </item>
  </channel>
</rss>

