<?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 command not showing full results when run with two datamodels. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Append-command-not-showing-full-results-when-run-with-two/m-p/345580#M102380</link>
    <description>&lt;P&gt;@p_gurav&lt;BR /&gt;
Thanks for the reply. I dont have access to the limits.conf . Apart from that Is there any work around which can be done on the SPlunk enterprise console.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Apr 2018 12:54:07 GMT</pubDate>
    <dc:creator>renjujacob88</dc:creator>
    <dc:date>2018-04-16T12:54:07Z</dc:date>
    <item>
      <title>Append command not showing full results when run with two datamodels.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Append-command-not-showing-full-results-when-run-with-two/m-p/345576#M102376</link>
      <description>&lt;P&gt;HI Splunkers,&lt;/P&gt;

&lt;P&gt;I'm using append command to combine the results of two datamodels over a period of a time but I'm unable to fetch complete results. When the query is run individually im getting complete results but that same results im not seeing when combined with append command.&lt;/P&gt;

&lt;P&gt;Do we have any workaround on this?&lt;/P&gt;

&lt;P&gt;Below is the query which im running on splunk&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;| tstats  allow_old_summaries=t    count from datamodel=Palo_Url_Filtering  where Palo_Url_Filtering.dest_hostname!="*explicit.bing.net" groupby _time Palo_Url_Filtering.client_ip Palo_Url_Filtering.dest_hostname Palo_Url_Filtering.category Palo_Url_Filtering.action |search [| inputlookup topDomainsfinal.csv | rename fqdn as Palo_Url_Filtering.dest_hostname | fields Palo_Url_Filtering.dest_hostname ] |stats count sum(count) as Total_request list(count) as Individual_domain_request_count list(_time) as time values(Palo_Url_Filtering.category) as Palo_Url_Filtering.category values(Palo_Url_Filtering.action) as Palo_Url_Filtering.action by Palo_Url_Filtering.client_ip Palo_Url_Filtering.dest_hostname | convert ctime(time) |  rename Palo_Url_Filtering.dest_hostname as fqdn | lookup topDomainsfinal.csv fqdn as fqdn Output category vtratio | where Total_request &amp;gt;=2 | fields Palo_Url_Filtering.client_ip fqdn Total_request Individual_domain_request_count time Palo_Url_Filtering.category Palo_Url_Filtering.action category vtratio | append [| tstats  allow_old_summaries=t    count from datamodel=DNS_Internal where DNS_Query.domain!="*explicit.bing.net" groupby _time DNS_Query.src_ip DNS_Query.domain | search [| inputlookup topDomainsfinal.csv | rename fqdn as DNS_Query.domain | fields DNS_Query.domain ] |stats count sum(count) as Total_request list(count) as Individual_domain_request_count list(_time) as time values(category) as category by DNS_Query.src_ip DNS_Query.domain | convert ctime(time) | rename DNS_Query.domain as fqdn | lookup topDomainsfinal.csv fqdn as fqdn Output category vtratio | where Total_request &amp;gt;=2 | fields DNS_Query.src_ip fqdn Total_request Individual_domain_request_count time category vtratio] |&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:06:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Append-command-not-showing-full-results-when-run-with-two/m-p/345576#M102376</guid>
      <dc:creator>renjujacob88</dc:creator>
      <dc:date>2020-09-29T19:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Append command not showing full results when run with two datamodels.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Append-command-not-showing-full-results-when-run-with-two/m-p/345577#M102377</link>
      <description>&lt;P&gt;If the subsearch in your append command is returning a lot of results, it may get truncated.&lt;BR /&gt;
In that case you would see a message in the Job dropdown menu (bottom right of search SPL), can you confirm if that's the case? &lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 12:32:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Append-command-not-showing-full-results-when-run-with-two/m-p/345577#M102377</guid>
      <dc:creator>damien_chillet</dc:creator>
      <dc:date>2018-04-16T12:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Append command not showing full results when run with two datamodels.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Append-command-not-showing-full-results-when-run-with-two/m-p/345578#M102378</link>
      <description>&lt;P&gt;@damien_chillet: Thanks for the quick response. Some times i could see the message like "'stats' command: limit for values of field 'xxx' reached. Some values may have been truncated or ignored." . There are times the job button will glow green but wont show me the complete results.&lt;/P&gt;

&lt;P&gt;What could be possible workaround on this&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 12:38:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Append-command-not-showing-full-results-when-run-with-two/m-p/345578#M102378</guid>
      <dc:creator>renjujacob88</dc:creator>
      <dc:date>2018-04-16T12:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Append command not showing full results when run with two datamodels.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Append-command-not-showing-full-results-when-run-with-two/m-p/345579#M102379</link>
      <description>&lt;P&gt;Can you try to edit below parameters in limits.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;list_maxsize 
maxresultrows 
maxvalues
maxvaluesize 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Refer below docs:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Limitsconf?utm_source=answers&amp;amp;utm_medium=in-answer&amp;amp;utm_term=limits.conf&amp;amp;utm_campaign=refdoc"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Limitsconf?utm_source=answers&amp;amp;utm_medium=in-answer&amp;amp;utm_term=limits.conf&amp;amp;utm_campaign=refdoc&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 12:44:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Append-command-not-showing-full-results-when-run-with-two/m-p/345579#M102379</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-04-16T12:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Append command not showing full results when run with two datamodels.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Append-command-not-showing-full-results-when-run-with-two/m-p/345580#M102380</link>
      <description>&lt;P&gt;@p_gurav&lt;BR /&gt;
Thanks for the reply. I dont have access to the limits.conf . Apart from that Is there any work around which can be done on the SPlunk enterprise console.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 12:54:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Append-command-not-showing-full-results-when-run-with-two/m-p/345580#M102380</guid>
      <dc:creator>renjujacob88</dc:creator>
      <dc:date>2018-04-16T12:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Append command not showing full results when run with two datamodels.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Append-command-not-showing-full-results-when-run-with-two/m-p/345581#M102381</link>
      <description>&lt;P&gt;Could you please use the below query&lt;/P&gt;

&lt;P&gt;| tstats allow_old_summaries=t count from datamodel=Palo_Url_Filtering where Palo_Url_Filtering.dest_hostname!="*explicit.bing.net" groupby _time Palo_Url_Filtering.client_ip Palo_Url_Filtering.dest_hostname Palo_Url_Filtering.category Palo_Url_Filtering.action |search [| inputlookup topDomainsfinal.csv | rename fqdn as Palo_Url_Filtering.dest_hostname | fields Palo_Url_Filtering.dest_hostname ] |stats count sum(count) as Total_request list(count) as Individual_domain_request_count list(_time) as time values(Palo_Url_Filtering.category) as Palo_Url_Filtering.category values(Palo_Url_Filtering.action) as Palo_Url_Filtering.action by Palo_Url_Filtering.client_ip Palo_Url_Filtering.dest_hostname | convert ctime(time) | rename Palo_Url_Filtering.dest_hostname as fqdn | lookup topDomainsfinal.csv fqdn as fqdn Output category vtratio | where Total_request &amp;gt;=2 | fields Palo_Url_Filtering.client_ip fqdn Total_request Individual_domain_request_count time Palo_Url_Filtering.category Palo_Url_Filtering.action category vtratio &lt;/P&gt;

&lt;P&gt;| Join time &lt;BR /&gt;
 [ search | tstats allow_old_summaries=t count from datamodel=DNS_Internal where DNS_Query.domain!="*explicit.bing.net" groupby _time DNS_Query.src_ip DNS_Query.domain | search [| inputlookup topDomainsfinal.csv | rename fqdn as DNS_Query.domain | fields DNS_Query.domain ] |stats count sum(count) as Total_request list(count) as Individual_domain_request_count list(_time) as time values(category) as category by DNS_Query.src_ip DNS_Query.domain | convert ctime(time) | rename DNS_Query.domain as fqdn | lookup topDomainsfinal.csv fqdn as fqdn Output category vtratio | where Total_request &amp;gt;=2 | fields DNS_Query.src_ip fqdn Total_request Individual_domain_request_count time category vtratio] |&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:06:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Append-command-not-showing-full-results-when-run-with-two/m-p/345581#M102381</guid>
      <dc:creator>logloganathan</dc:creator>
      <dc:date>2020-09-29T19:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Append command not showing full results when run with two datamodels.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Append-command-not-showing-full-results-when-run-with-two/m-p/345582#M102382</link>
      <description>&lt;P&gt;You can try play with settings in limits.conf like @p_gurav wrote below.&lt;BR /&gt;
However best solution is to try re-engineer your search to work with current settings (if that's possible).&lt;BR /&gt;
I would like to help more but it's difficult without knowing the use case and having data sample available.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:02:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Append-command-not-showing-full-results-when-run-with-two/m-p/345582#M102382</guid>
      <dc:creator>damien_chillet</dc:creator>
      <dc:date>2018-04-16T13:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Append command not showing full results when run with two datamodels.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Append-command-not-showing-full-results-when-run-with-two/m-p/345583#M102383</link>
      <description>&lt;P&gt;The solution what i was looking for is to append the datamodel results.  Based on the query provided , the join command is used to used to combine the subsearch with the result of the main search . The common field is 'time' which is again not a good sign to append the results of the two datamodels. When joining the subsearch and if  all results are needed , it always good approach to use type=left.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 23:18:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Append-command-not-showing-full-results-when-run-with-two/m-p/345583#M102383</guid>
      <dc:creator>renjujacob88</dc:creator>
      <dc:date>2018-04-16T23:18:01Z</dc:date>
    </item>
  </channel>
</rss>

