<?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: convert memk() function usage in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/convert-memk-function-usage/m-p/692490#M10138</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;this seems to work.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| eval gb=1, gb=gb . "g"
| convert memk(gb) as kb_c
| eval kb=round(kb_c/1024/1024,2)&lt;/LI-CODE&gt;&lt;P&gt;Destination will be always as KB.&lt;/P&gt;&lt;P&gt;r. Ismo&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jul 2024 14:34:22 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2024-07-05T14:34:22Z</dc:date>
    <item>
      <title>convert memk() function usage</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/convert-memk-function-usage/m-p/692480#M10137</link>
      <description>&lt;P&gt;Hello All ,&lt;/P&gt;
&lt;P&gt;Greetings&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am looking for perfect explanation of memk() function used with convert statement , how it works and where to pass the m,g,k (&lt;SPAN&gt;The letter k indicates kilobytes, m indicates megabytes, and g indicates gigabytes&lt;/SPAN&gt;) .&lt;/P&gt;
&lt;P&gt;when i am trying this function to convert kb to KB , i am not seeing any change in values . Please help&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=_internal source="*metric*" |convert memk(kb) as KB |table kb , KB&lt;/LI-CODE&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="kannu_0-1720176545437.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31624iBBD375F5B9FD59D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kannu_0-1720176545437.png" alt="kannu_0-1720176545437.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Manish Kumar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 12:26:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/convert-memk-function-usage/m-p/692480#M10137</guid>
      <dc:creator>kannu</dc:creator>
      <dc:date>2024-07-05T12:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: convert memk() function usage</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/convert-memk-function-usage/m-p/692490#M10138</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;this seems to work.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| eval gb=1, gb=gb . "g"
| convert memk(gb) as kb_c
| eval kb=round(kb_c/1024/1024,2)&lt;/LI-CODE&gt;&lt;P&gt;Destination will be always as KB.&lt;/P&gt;&lt;P&gt;r. Ismo&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 14:34:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/convert-memk-function-usage/m-p/692490#M10138</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-07-05T14:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: convert memk() function usage</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/convert-memk-function-usage/m-p/692589#M10143</link>
      <description>&lt;P&gt;What difference are you expecting? Are you trying to say that in your example kb is 1000 based and you want to convert to 1024 based. That is not what memk does. In this case just do&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval KB=round(kb/1.024,3)&lt;/LI-CODE&gt;&lt;P&gt;If they are both 1024 based, then they are the same number, so memk will not do anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jul 2024 23:24:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/convert-memk-function-usage/m-p/692589#M10143</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-07-07T23:24:51Z</dc:date>
    </item>
  </channel>
</rss>

