<?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: use stat results as string instead of numbers in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/use-stat-results-as-string-instead-of-numbers/m-p/480411#M134640</link>
    <description>&lt;P&gt;This is perfect I am going to look into the values thing now.  THANKS!!&lt;/P&gt;</description>
    <pubDate>Tue, 03 Mar 2020 14:31:04 GMT</pubDate>
    <dc:creator>rtalcik</dc:creator>
    <dc:date>2020-03-03T14:31:04Z</dc:date>
    <item>
      <title>use stat results as string instead of numbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/use-stat-results-as-string-instead-of-numbers/m-p/480409#M134638</link>
      <description>&lt;P&gt;Hi everyone, so I am wondering if it is possible to display my results as a string for computername instead of displaying it as a number.   I don't believe using count or stats is the right process here, but I was wondering if someone can help me edit my command to do what I want   So below is the stats command and I want to see the results by user along with WHAT computername and WHAT Host as a string&lt;/P&gt;

&lt;P&gt;| stats count as total_count count(eval(EventCode="4625")) as denied_count count(eval(EventCode="4624" OR EventCode="4768" OR EventCode="4776")) as permitted_count count(eval(host)) as host  count(eval(ComputerName)) as computer by user &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:22:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/use-stat-results-as-string-instead-of-numbers/m-p/480409#M134638</guid>
      <dc:creator>rtalcik</dc:creator>
      <dc:date>2020-09-30T04:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: use stat results as string instead of numbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/use-stat-results-as-string-instead-of-numbers/m-p/480410#M134639</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | stats count as total_count count(eval(EventCode="4625")) as denied_count count(eval(EventCode="4624" OR EventCode="4768" OR EventCode="4776")) as permitted_count count(host) as host count(ComputerName) as computer values(host) as hosts values(ComputerName) as computers by user
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 28 Feb 2020 15:23:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/use-stat-results-as-string-instead-of-numbers/m-p/480410#M134639</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-02-28T15:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: use stat results as string instead of numbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/use-stat-results-as-string-instead-of-numbers/m-p/480411#M134640</link>
      <description>&lt;P&gt;This is perfect I am going to look into the values thing now.  THANKS!!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 14:31:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/use-stat-results-as-string-instead-of-numbers/m-p/480411#M134640</guid>
      <dc:creator>rtalcik</dc:creator>
      <dc:date>2020-03-03T14:31:04Z</dc:date>
    </item>
  </channel>
</rss>

