<?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: Need help with a splunk search with appendcols in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-splunk-search-with-appendcols/m-p/656990#M226923</link>
    <description>&lt;P&gt;The results have less than 10000 events in both the subsearches.&lt;/P&gt;&lt;P&gt;I have off of my system now, but I will try multisearch tomorrow. Let's see if it works.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Sep 2023 17:02:58 GMT</pubDate>
    <dc:creator>phularah</dc:creator>
    <dc:date>2023-09-07T17:02:58Z</dc:date>
    <item>
      <title>Need help with a splunk search with appendcols</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-splunk-search-with-appendcols/m-p/656977#M226918</link>
      <description>&lt;P&gt;I am trying to get data from 2 indexes and combine them via appendcols.&lt;BR /&gt;&lt;BR /&gt;The search is&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;index="anon" sourcetype="test1" localDn=*aaa*&lt;BR /&gt;| fillnull release_resp_succ update_resp_succ release_req update_req n40_msg_written_to_disk create_req value=0&lt;BR /&gt;| eval Number_of_expected_CDRs = release_req+update_req&lt;BR /&gt;| eval Succ_CDRs=release_resp_succ+update_resp_succ&lt;BR /&gt;| eval Missing_CDRs=Number_of_expected_CDRs-Succ_CDRs-n40_msg_written_to_disk&lt;BR /&gt;| timechart span=1h sum(Number_of_expected_CDRs) as Expected_CDRs sum(Succ_CDRs) as Successful_CDRs sum(Missing_CDRs) as Missing_CDRs sum(n40_msg_written_to_disk) as Written sum(create_req) as Create_Request&lt;BR /&gt;| eval Missed_CDRs_%=round((Missing_CDRs/Expected_CDRs)*100,2)&lt;BR /&gt;| eval Missed_CDRs_%=round((Missing_CDRs/Expected_CDRs)*100,2)&lt;BR /&gt;| table *&lt;BR /&gt;| appendcols [| search index=summary source="abc1" OR source="abc2"&lt;BR /&gt;| timechart span=1h sum(xyz) as Counter&lt;BR /&gt;| table Counter]&lt;BR /&gt;&lt;BR /&gt;But, I am getting output from just the first search. The appendcols&amp;nbsp; search is just not giving the Counter field in the output.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 15:02:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-splunk-search-with-appendcols/m-p/656977#M226918</guid>
      <dc:creator>phularah</dc:creator>
      <dc:date>2023-09-07T15:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a splunk search with appendcols</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-splunk-search-with-appendcols/m-p/656985#M226919</link>
      <description>&lt;P&gt;There doesn't appear to be anything wrong with the search as you have presented it - are you certain you have results from the subsearch&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=summary source="abc1" OR source="abc2"
| timechart span=1h sum(xyz) as Counter
| table Counter&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 07 Sep 2023 16:03:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-splunk-search-with-appendcols/m-p/656985#M226919</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-09-07T16:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a splunk search with appendcols</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-splunk-search-with-appendcols/m-p/656986#M226920</link>
      <description>&lt;P&gt;Yes, I have results from both the subsearches. But, still I don't see Counter in the results which is weird.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 16:51:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-splunk-search-with-appendcols/m-p/656986#M226920</guid>
      <dc:creator>phularah</dc:creator>
      <dc:date>2023-09-07T16:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a splunk search with appendcols</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-splunk-search-with-appendcols/m-p/656989#M226922</link>
      <description>&lt;P&gt;Subsearches are limited to 50,000 events - could this be the reason your subsearch is not showing any results?&lt;/P&gt;&lt;P&gt;Have you tried a shorter timeframe, or tried fragmenting your subsearch in some way, e.g. splitting by source?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 16:59:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-splunk-search-with-appendcols/m-p/656989#M226922</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-09-07T16:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a splunk search with appendcols</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-splunk-search-with-appendcols/m-p/656990#M226923</link>
      <description>&lt;P&gt;The results have less than 10000 events in both the subsearches.&lt;/P&gt;&lt;P&gt;I have off of my system now, but I will try multisearch tomorrow. Let's see if it works.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 17:02:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-splunk-search-with-appendcols/m-p/656990#M226923</guid>
      <dc:creator>phularah</dc:creator>
      <dc:date>2023-09-07T17:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a splunk search with appendcols</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-splunk-search-with-appendcols/m-p/656991#M226924</link>
      <description>&lt;P&gt;It is not the number of results that matter, it is the number of events returned by the first part of the search that you need to check&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=summary source="abc1" OR source="abc2"&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 07 Sep 2023 17:40:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-splunk-search-with-appendcols/m-p/656991#M226924</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-09-07T17:40:09Z</dc:date>
    </item>
  </channel>
</rss>

