<?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: Getting Average for this search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Getting-Average-for-this-search/m-p/519162#M146183</link>
    <description>&lt;P&gt;How would I round the results?&lt;/P&gt;</description>
    <pubDate>Fri, 11 Sep 2020 21:13:27 GMT</pubDate>
    <dc:creator>tefa627</dc:creator>
    <dc:date>2020-09-11T21:13:27Z</dc:date>
    <item>
      <title>Getting Average for this search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-Average-for-this-search/m-p/515802#M144827</link>
      <description>&lt;P&gt;I am trying to get each value to be divided by certain number (x). So if x=7, the first value would be 138.&lt;/P&gt;&lt;P&gt;index=net_auth_long&lt;BR /&gt;| eval time_hour=strftime(_time,"%H")&lt;BR /&gt;| chart count over channel by time_hour limit=30&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tefa627_1-1598279958774.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10470i7A659B551FDF6949/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tefa627_1-1598279958774.png" alt="tefa627_1-1598279958774.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 14:39:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-Average-for-this-search/m-p/515802#M144827</guid>
      <dc:creator>tefa627</dc:creator>
      <dc:date>2020-08-24T14:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Average for this search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-Average-for-this-search/m-p/515809#M144830</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;could you try this&lt;/P&gt;&lt;LI-CODE lang="java"&gt;....
| chart eval(count(&amp;lt;your field name&amp;gt;)/7) AS field_div_by_7 by channel time_hour&lt;/LI-CODE&gt;&lt;P&gt;r. Ismo&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 15:01:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-Average-for-this-search/m-p/515809#M144830</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-08-24T15:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Average for this search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-Average-for-this-search/m-p/519162#M146183</link>
      <description>&lt;P&gt;How would I round the results?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 21:13:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-Average-for-this-search/m-p/519162#M146183</guid>
      <dc:creator>tefa627</dc:creator>
      <dc:date>2020-09-11T21:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Average for this search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-Average-for-this-search/m-p/519195#M146200</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Time by time you must add ’ to surround &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; to get SPL to known that it’s a field like&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| foreach * [ eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; = round(‘&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;’,2)]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;r. Ismo&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Sep 2020 08:34:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-Average-for-this-search/m-p/519195#M146200</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-09-12T08:34:58Z</dc:date>
    </item>
  </channel>
</rss>

