<?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: Average wrong box estimate in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616135#M214121</link>
    <description>&lt;P&gt;Your actualBoxes and estimatedBoxes have not extracted correctly (or there weren't any values for them in your events)&lt;/P&gt;</description>
    <pubDate>Thu, 06 Oct 2022 10:18:19 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2022-10-06T10:18:19Z</dc:date>
    <item>
      <title>Average wrong box estimate- Why is my attempt wrong?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616109#M214108</link>
      <description>&lt;P&gt;I have total 17 orders.&amp;nbsp;&amp;nbsp;Box Estimates is wrong 6 out of 17 orders. What is the average wrong box estimate in &lt;FONT color="#FF6600"&gt;total&lt;/FONT&gt;?&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;This is my attempt who is wrong:&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| spath path=data{}.actual_totes{}.finalBoxAmount output=actualBoxes 
| spath path=data{}.estimated_totes{}.box  output=estimatedBoxes 
| eventstats count AS total
| eval box_missing=if(actualBoxes != estimatedBoxes, "YES", "NO") 
| eval average= (actualBoxes - estimatedBoxes) / total * 100
| table actualBoxes estimatedBoxes total box_missing average&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 13:51:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616109#M214108</guid>
      <dc:creator>alakdam</dc:creator>
      <dc:date>2022-10-06T13:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Average wrong box estimate</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616113#M214111</link>
      <description>&lt;P&gt;What events are you using?&lt;/P&gt;&lt;P&gt;How is it wrong?&lt;/P&gt;&lt;P&gt;What were you expecting?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 09:37:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616113#M214111</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-10-06T09:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Average wrong box estimate</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616117#M214112</link>
      <description>&lt;P&gt;Sorry If question is not clear.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;These are the data I get from my event &lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_down:"&gt;👇🏾&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_down:"&gt;👇🏾&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| spath path=data{}.actual_totes{}.finalBoxAmount output=actualBoxes 
| spath path=data{}.estimated_totes{}.box  output=estimatedBoxes &lt;/LI-CODE&gt;&lt;P&gt;Below splunk table image.&amp;nbsp; I have estimated order was right 11 time and 6 time was wrong.&amp;nbsp;I'm curious to know the percentage of incorrect box estimations overall.?&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-10-06 at 12.45.01.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21915i9D09001665161C64/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-10-06 at 12.45.01.png" alt="Screenshot 2022-10-06 at 12.45.01.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 09:49:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616117#M214112</guid>
      <dc:creator>alakdam</dc:creator>
      <dc:date>2022-10-06T09:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Average wrong box estimate</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616121#M214113</link>
      <description>&lt;LI-CODE lang="markup"&gt;| spath path=data{}.actual_totes{}.finalBoxAmount output=actualBoxes 
| spath path=data{}.estimated_totes{}.box  output=estimatedBoxes 
| eval box_missing=if(actualBoxes != estimatedBoxes, 1, 0) 
| stats count as total sum(box_missing) as missing
| eval percent_wrong = 100*missing/total&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 06 Oct 2022 09:56:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616121#M214113</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-10-06T09:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Average wrong box estimate</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616123#M214114</link>
      <description>&lt;P&gt;I don't see any answer.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-10-06 at 12.59.17.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21916iBA1206161477B018/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-10-06 at 12.59.17.png" alt="Screenshot 2022-10-06 at 12.59.17.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 09:59:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616123#M214114</guid>
      <dc:creator>alakdam</dc:creator>
      <dc:date>2022-10-06T09:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Average wrong box estimate</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616126#M214115</link>
      <description>&lt;P&gt;Try with eventstats so you can see which events have been included&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| spath path=data{}.actual_totes{}.finalBoxAmount output=actualBoxes 
| spath path=data{}.estimated_totes{}.box  output=estimatedBoxes 
| eval box_missing=if(actualBoxes != estimatedBoxes, 1, 0) 
| eventstats count as total sum(box_missing) as missing
| eval percent_wrong = 100*missing/total&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 06 Oct 2022 10:04:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616126#M214115</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-10-06T10:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Average wrong box estimate</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616127#M214116</link>
      <description>&lt;P&gt;I started learning splunk yesterday. don't know the difference between spats and evenstats. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 10:06:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616127#M214116</guid>
      <dc:creator>alakdam</dc:creator>
      <dc:date>2022-10-06T10:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Average wrong box estimate</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616130#M214117</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-10-06 at 13.07.57.png" style="width: 555px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21917iD2BA19A57809D100/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-10-06 at 13.07.57.png" alt="Screenshot 2022-10-06 at 13.07.57.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 10:08:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616130#M214117</guid>
      <dc:creator>alakdam</dc:creator>
      <dc:date>2022-10-06T10:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Average wrong box estimate</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616131#M214118</link>
      <description>&lt;P&gt;Essentially, event stats adds the calculated values as new fields to all the events without dropping any events, whereas stats replaces all the events with a single event containing just the calculated or group by fields&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 10:09:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616131#M214118</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-10-06T10:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Average wrong box estimate</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616132#M214119</link>
      <description>&lt;P&gt;Try including the other fields&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| table actualBoxes estimatedBoxes total box_missing missing percent_wrong&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 06 Oct 2022 10:12:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616132#M214119</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-10-06T10:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Average wrong box estimate</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616134#M214120</link>
      <description>&lt;P&gt;PS: I just want only TOTAL average of wrong estimate&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-10-06 at 13.13.48.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21918iA2E83F03DCD32CE6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-10-06 at 13.13.48.png" alt="Screenshot 2022-10-06 at 13.13.48.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 10:15:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616134#M214120</guid>
      <dc:creator>alakdam</dc:creator>
      <dc:date>2022-10-06T10:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Average wrong box estimate</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616135#M214121</link>
      <description>&lt;P&gt;Your actualBoxes and estimatedBoxes have not extracted correctly (or there weren't any values for them in your events)&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 10:18:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616135#M214121</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-10-06T10:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Average wrong box estimate</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616140#M214122</link>
      <description>&lt;P&gt;How come it returns these&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-10-06 at 13.23.35.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21921iC7ECE9C8CC30496A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-10-06 at 13.23.35.png" alt="Screenshot 2022-10-06 at 13.23.35.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 10:24:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616140#M214122</guid>
      <dc:creator>alakdam</dc:creator>
      <dc:date>2022-10-06T10:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Average wrong box estimate</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616142#M214124</link>
      <description>&lt;P&gt;PS: Some of the actual values are null&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 10:26:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616142#M214124</guid>
      <dc:creator>alakdam</dc:creator>
      <dc:date>2022-10-06T10:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Average wrong box estimate</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616143#M214125</link>
      <description>&lt;P&gt;You have changed the names of the output fields on the spath so they no longer match the field names used in the eval - you should try and be consistent&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 10:29:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616143#M214125</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-10-06T10:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Average wrong box estimate</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616147#M214128</link>
      <description>&lt;P&gt;I am really sorry for stupid mistake &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏🏾&lt;/span&gt;. Now it shows the averages but why it shows&amp;nbsp; 17 rows&amp;nbsp; in same result. Cant I make one column and one row&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-10-06 at 13.38.11.png" style="width: 650px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21922iB1DB5431095FFE0A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-10-06 at 13.38.11.png" alt="Screenshot 2022-10-06 at 13.38.11.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 10:40:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616147#M214128</guid>
      <dc:creator>alakdam</dc:creator>
      <dc:date>2022-10-06T10:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Average wrong box estimate</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616148#M214129</link>
      <description>&lt;P&gt;Change the eventstats back to stats (as I explained earlier)&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 10:41:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616148#M214129</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-10-06T10:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Average wrong box estimate</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616151#M214131</link>
      <description>&lt;P&gt;Thank you for stick with me &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏🏾&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏🏾&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 10:43:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-wrong-box-estimate-Why-is-my-attempt-wrong/m-p/616151#M214131</guid>
      <dc:creator>alakdam</dc:creator>
      <dc:date>2022-10-06T10:43:28Z</dc:date>
    </item>
  </channel>
</rss>

