<?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: makeresults query stuck in v7.3 in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/makeresults-query-stuck-in-v7-3/m-p/500642#M195096</link>
    <description>&lt;P&gt;Better yet, just dump it into a &lt;CODE&gt;lookup file&lt;/CODE&gt;.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Mar 2020 14:11:40 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2020-03-26T14:11:40Z</dc:date>
    <item>
      <title>makeresults query stuck in v7.3</title>
      <link>https://community.splunk.com/t5/Splunk-Search/makeresults-query-stuck-in-v7-3/m-p/500640#M195094</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;One of the dashboards has a makeresults query like below, with about 250 append statements.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults| eval active="true"| makemv delim="," active| eval code="1234"| makemv delim="," code| eval portfolio="ABC"| makemv delim="," portfolio| eval applicative=null| makemv delim="," applicative| eval availability=null| makemv delim="," availability| eval infra=null| makemv delim="," infra| eval interfaces=null| makemv delim="," interfaces| eval id="0001"| makemv delim="," id
| append [| makeresults| eval active="true"| makemv delim="," active| eval code="2345"| makemv delim="," code| eval portfolio="ABC,PQR"| makemv delim="," portfolio| eval applicative=null| makemv delim="," applicative| eval availability=null| makemv delim="," availability| eval infra="Infra2"| makemv delim="," infra| eval interfaces="Infra2"| makemv delim="," interfaces| eval id="0002"| makemv delim="," id]
| append [| makeresults| eval active="true"| makemv delim="," active| eval code="3456"| makemv delim="," code| eval portfolio="ABC,PQR"| makemv delim="," portfolio| eval applicative=" list missing for the application"| makemv delim="," applicative| eval availability=null| makemv delim="," availability| eval infra=null| makemv delim="," infra| eval interfaces=null| makemv delim="," interfaces| eval id="0003"| makemv delim="," id]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;.... and so on&lt;/P&gt;

&lt;P&gt;The query gets executed fine on Splunk v7.0 but is stuck on v7.3. The job progress remains at 0% and gets stuck.&lt;/P&gt;

&lt;P&gt;I tried updating the configuration in limits.conf but in vain.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;max_mem_usage_mb = 500 
[searchresults]
maxresultrows = 86400
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Has anyone faced such a problem in v7.3.3? &lt;BR /&gt;
If I decrease the append statements to say 180,  the query gets executed. So, it seems the issue is related to memory/result size but I haven't found any solution yet.&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 12:34:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/makeresults-query-stuck-in-v7-3/m-p/500640#M195094</guid>
      <dc:creator>saneja</dc:creator>
      <dc:date>2020-03-26T12:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: makeresults query stuck in v7.3</title>
      <link>https://community.splunk.com/t5/Splunk-Search/makeresults-query-stuck-in-v7-3/m-p/500641#M195095</link>
      <description>&lt;P&gt;It is the &lt;CODE&gt;append&lt;/CODE&gt; list that is killing you. You are doing it wrong; use &lt;CODE&gt;multikv&lt;/CODE&gt; like this instead:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults| eval _raw="active   applicative                        code   id     infra     interfaces   portfolio
true                                        1234   0001                          ABC
true                                        2345   0002   Infra2    Infra2       ABC,PQR
true     list missing for the application   3456   0003                          ABC,PQR"
| multikv forceheader=1 
| makemv delim="," portfolio
| fields - _raw linecount
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When cut-and-paste for testing be sure to carefully remove the leading space on every line or it will not work.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 14:11:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/makeresults-query-stuck-in-v7-3/m-p/500641#M195095</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-03-26T14:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: makeresults query stuck in v7.3</title>
      <link>https://community.splunk.com/t5/Splunk-Search/makeresults-query-stuck-in-v7-3/m-p/500642#M195096</link>
      <description>&lt;P&gt;Better yet, just dump it into a &lt;CODE&gt;lookup file&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 14:11:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/makeresults-query-stuck-in-v7-3/m-p/500642#M195096</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-03-26T14:11:40Z</dc:date>
    </item>
  </channel>
</rss>

