<?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: How can I tell a field value's type (number or string) just by looking? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-tell-a-field-value-s-type-number-or-string-just-by/m-p/138130#M37892</link>
    <description>&lt;P&gt;Hey @jkjeong why the downvote here?  Seriously; is there something amiss that I am totally missing?&lt;/P&gt;</description>
    <pubDate>Fri, 18 Aug 2017 16:50:17 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2017-08-18T16:50:17Z</dc:date>
    <item>
      <title>How can I tell a field value's type (number or string) just by looking?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-tell-a-field-value-s-type-number-or-string-just-by/m-p/138128#M37890</link>
      <description>&lt;P&gt;I know that I can use the &lt;CODE&gt;isnum()&lt;/CODE&gt; and &lt;CODE&gt;isstr()&lt;/CODE&gt; functions but surely there is a more obvious way, right?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2015 05:58:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-tell-a-field-value-s-type-number-or-string-just-by/m-p/138128#M37890</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-08T05:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can I tell a field value's type (number or string) just by looking?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-tell-a-field-value-s-type-number-or-string-just-by/m-p/138129#M37891</link>
      <description>&lt;P&gt;Actually, I already know the answer because I just discovered it and it is TOO COOL not to share!&lt;/P&gt;

&lt;P&gt;If the value has been created as a &lt;CODE&gt;number&lt;/CODE&gt;, it will show &lt;CODE&gt;right-justified&lt;/CODE&gt; in the column, but if it has been created as a &lt;CODE&gt;string&lt;/CODE&gt;, it will show &lt;CODE&gt;left-justified&lt;/CODE&gt;.  HOW COOL IS THAT!!!  I wonder how long that has been in Splunk and if it is actually documented anywhere?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2015 05:59:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-tell-a-field-value-s-type-number-or-string-just-by/m-p/138129#M37891</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-08T05:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I tell a field value's type (number or string) just by looking?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-tell-a-field-value-s-type-number-or-string-just-by/m-p/138130#M37892</link>
      <description>&lt;P&gt;Hey @jkjeong why the downvote here?  Seriously; is there something amiss that I am totally missing?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 16:50:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-tell-a-field-value-s-type-number-or-string-just-by/m-p/138130#M37892</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-08-18T16:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can I tell a field value's type (number or string) just by looking?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-tell-a-field-value-s-type-number-or-string-just-by/m-p/138131#M37893</link>
      <description>&lt;P&gt;You can use &lt;CODE&gt;typeof()&lt;/CODE&gt; function to determine what is type of a field.&lt;BR /&gt;
More info &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.2/SearchReference/InformationalFunctions"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.2/SearchReference/InformationalFunctions&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 20:17:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-tell-a-field-value-s-type-number-or-string-just-by/m-p/138131#M37893</guid>
      <dc:creator>ferdydek</dc:creator>
      <dc:date>2018-03-07T20:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can I tell a field value's type (number or string) just by looking?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-tell-a-field-value-s-type-number-or-string-just-by/m-p/138132#M37894</link>
      <description>&lt;P&gt;Also, &lt;CODE&gt;isnumber&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 19:20:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-tell-a-field-value-s-type-number-or-string-just-by/m-p/138132#M37894</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-04-30T19:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: How can I tell a field value's type (number or string) just by looking?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-tell-a-field-value-s-type-number-or-string-just-by/m-p/138133#M37895</link>
      <description>&lt;P&gt;This is such a brilliant little detail you noticed. Thanks!!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 15:56:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-tell-a-field-value-s-type-number-or-string-just-by/m-p/138133#M37895</guid>
      <dc:creator>_smp_</dc:creator>
      <dc:date>2019-11-21T15:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: How can I tell a field value's type (number or string) just by looking?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-tell-a-field-value-s-type-number-or-string-just-by/m-p/138134#M37896</link>
      <description>&lt;P&gt;Note that &lt;CODE&gt;tostring&lt;/CODE&gt; and &lt;CODE&gt;tonumber&lt;/CODE&gt; are not honored by this convention, which makes me sad.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 21:35:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-tell-a-field-value-s-type-number-or-string-just-by/m-p/138134#M37896</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-01-27T21:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can I tell a field value's type (number or string) just by looking?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-tell-a-field-value-s-type-number-or-string-just-by/m-p/138135#M37897</link>
      <description>&lt;P&gt;Also &lt;CODE&gt;typeof()&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2020 04:23:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-tell-a-field-value-s-type-number-or-string-just-by/m-p/138135#M37897</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-03-04T04:23:19Z</dc:date>
    </item>
  </channel>
</rss>

