<?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: Format results with comma thousands separator in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Format-results-with-comma-thousands-separator/m-p/58163#M14208</link>
    <description>&lt;P&gt;You can use the &lt;CODE&gt;tostring(X, "commas")&lt;/CODE&gt; function in eval (http://www.splunk.com/base/Documentation/latest/SearchReference/CommonEvalFunctions):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype=request | stats sum(http_bytes) as bytes by http_domain | sort -bytes | eval bytes = tostring(bytes, "commas") | head 100
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 25 Sep 2010 01:52:09 GMT</pubDate>
    <dc:creator>Stephen_Sorkin</dc:creator>
    <dc:date>2010-09-25T01:52:09Z</dc:date>
    <item>
      <title>Format results with comma thousands separator</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Format-results-with-comma-thousands-separator/m-p/58162#M14207</link>
      <description>&lt;P&gt;How do I format the output to have comma separators - I want 1,234,567, not 1234567.  Any easy way?&lt;/P&gt;

&lt;P&gt;Given a query like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype=request | sistats sum(http_bytes) as bytes by http_domain | sort -bytes | head 100
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'd like bytes to be more human readable.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Sep 2010 01:42:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Format-results-with-comma-thousands-separator/m-p/58162#M14207</guid>
      <dc:creator>Oren</dc:creator>
      <dc:date>2010-09-25T01:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Format results with comma thousands separator</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Format-results-with-comma-thousands-separator/m-p/58163#M14208</link>
      <description>&lt;P&gt;You can use the &lt;CODE&gt;tostring(X, "commas")&lt;/CODE&gt; function in eval (http://www.splunk.com/base/Documentation/latest/SearchReference/CommonEvalFunctions):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype=request | stats sum(http_bytes) as bytes by http_domain | sort -bytes | eval bytes = tostring(bytes, "commas") | head 100
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 25 Sep 2010 01:52:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Format-results-with-comma-thousands-separator/m-p/58163#M14208</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2010-09-25T01:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Format results with comma thousands separator</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Format-results-with-comma-thousands-separator/m-p/58164#M14209</link>
      <description>&lt;P&gt;If you said that, I can't draw chart(or graph). &lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2013 04:01:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Format-results-with-comma-thousands-separator/m-p/58164#M14209</guid>
      <dc:creator>juanxiayan</dc:creator>
      <dc:date>2013-04-30T04:01:10Z</dc:date>
    </item>
  </channel>
</rss>

