<?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: tonumber Not Working? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/tonumber-Not-Working/m-p/153304#M185614</link>
    <description>&lt;P&gt;The WindowsLoginID field is represented in Hex format so use following. (see tonumber)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=charlesriver sourcetype="windows_events"   WindowsLogonID=0x29019c75 | eval WindowsLoginID=tonumber(WindowsLoginID,16)  | table  _time ADLogon WindowsLoginID  | sort  -WindowsLoginID
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 22 Nov 2013 21:22:10 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2013-11-22T21:22:10Z</dc:date>
    <item>
      <title>tonumber Not Working?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/tonumber-Not-Working/m-p/153303#M185613</link>
      <description>&lt;P&gt;I have windows logs and I have extracted the Process ID's and Login ID's. I thought the | eval tonumber would work but it doesn't return anything.&lt;/P&gt;

&lt;P&gt;In this example my Login Id is 0x29019c75&lt;/P&gt;

&lt;P&gt;index=charlesriver sourcetype="windows_events"   WindowsLogonID=0x29019c75 | eval WindowsLoginID=tonumber(WindowsLoginID)  | table  _time ADLogon WindowsLoginID  | sort  -WindowsLoginID&lt;/P&gt;

&lt;P&gt;(In case you are asking why, we are comparing the login id to what is logged in an application log)&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2013 21:07:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/tonumber-Not-Working/m-p/153303#M185613</guid>
      <dc:creator>andrewkenth</dc:creator>
      <dc:date>2013-11-22T21:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: tonumber Not Working?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/tonumber-Not-Working/m-p/153304#M185614</link>
      <description>&lt;P&gt;The WindowsLoginID field is represented in Hex format so use following. (see tonumber)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=charlesriver sourcetype="windows_events"   WindowsLogonID=0x29019c75 | eval WindowsLoginID=tonumber(WindowsLoginID,16)  | table  _time ADLogon WindowsLoginID  | sort  -WindowsLoginID
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Nov 2013 21:22:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/tonumber-Not-Working/m-p/153304#M185614</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2013-11-22T21:22:10Z</dc:date>
    </item>
  </channel>
</rss>

