<?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: Splunk treats any number that uses E (instead of *10) as a string in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139754#M38466</link>
    <description>&lt;P&gt;I Appreciate your quote from Taken, credits to 20th century fox, but in the interest of helping the community, your behaviour on this site should reflect that as such to help the community by upvoting and accepting correct answers so that others who have similar questions can understand.&lt;/P&gt;

&lt;P&gt;The down vote is designed to show that an answer is not correct and should probably only be used in rare circumstances where a member of the community is inaccurate in their answer and you believe this could be misleading to any other user.&lt;/P&gt;</description>
    <pubDate>Fri, 20 Feb 2015 15:45:06 GMT</pubDate>
    <dc:creator>markthompson</dc:creator>
    <dc:date>2015-02-20T15:45:06Z</dc:date>
    <item>
      <title>Splunk treats any number that uses E (instead of *10) as a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139740#M38452</link>
      <description>&lt;P&gt;Any number such as 1.23456E-3 (equivalent to 1.23456*10^-3 or 0.00123456) is recognised by splunk as a string rather than it either converting it to only contain numbers or knowing that E is equivalent to *10. Just wondering if there is a simple way of getting splunk to change this?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2015 16:55:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139740#M38452</guid>
      <dc:creator>toby6578</dc:creator>
      <dc:date>2015-02-09T16:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk treats any number that uses E (instead of *10) as a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139741#M38453</link>
      <description>&lt;P&gt;It's a little long, but it works:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| stats count | eval string="1.23456E-3" | rex field=string "^(?&amp;lt;base&amp;gt;.+)E(?&amp;lt;power&amp;gt;.+)$" | eval number=base*pow(10, power)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Feb 2015 17:27:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139741#M38453</guid>
      <dc:creator>skawasaki_splun</dc:creator>
      <dc:date>2015-02-09T17:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk treats any number that uses E (instead of *10) as a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139742#M38454</link>
      <description>&lt;P&gt;This works if I have a specific field that I know needs converting. However, in my case I have a large table with about seven different columns and some numbers contain 'E' and some don't. What I need is more of a way for splunk to see any number that goes through the search and make sure it has been converted to not include E. Is there a way of doing this? Or does this method work but I'm using it in the wrong way?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2015 10:03:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139742#M38454</guid>
      <dc:creator>toby6578</dc:creator>
      <dc:date>2015-02-10T10:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk treats any number that uses E (instead of *10) as a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139743#M38455</link>
      <description>&lt;P&gt;If the "number" doesn't contain "E" then the regex won't even capture and no extra work is needed. You may want to remove the extra fields with &lt;CODE&gt;| fields - base power&lt;/CODE&gt;. Also to perform the regex on more fields, then look into &lt;CODE&gt;| foreach&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2015 16:43:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139743#M38455</guid>
      <dc:creator>skawasaki_splun</dc:creator>
      <dc:date>2015-02-11T16:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk treats any number that uses E (instead of *10) as a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139744#M38456</link>
      <description>&lt;P&gt;I have discovered that in fact splunk does know this is a number however it refuses to plot anything containing "E" on a graph, which is even more strange, but that's another question. You can do maths with a number containing E on splunk.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2015 16:32:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139744#M38456</guid>
      <dc:creator>toby6578</dc:creator>
      <dc:date>2015-02-19T16:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk treats any number that uses E (instead of *10) as a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139745#M38457</link>
      <description>&lt;P&gt;Here's an answer for you.&lt;/P&gt;

&lt;P&gt;If your number contains E, Splunk will recognise it as a string and will allow you to do maths with it, but not plot it on a graph, To fix this, you can multiply the field by 1 or 10 to the power of 0 (1) which will give you the actual number and this can be plotted onto a graph&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2015 15:18:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139745#M38457</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-02-20T15:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk treats any number that uses E (instead of *10) as a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139746#M38458</link>
      <description>&lt;P&gt;Hi Mark,&lt;BR /&gt;
Thanks for your answer, but Splunk does recognize it as a number and thus you are incorrect.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2015 15:20:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139746#M38458</guid>
      <dc:creator>toby6578</dc:creator>
      <dc:date>2015-02-20T15:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk treats any number that uses E (instead of *10) as a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139747#M38459</link>
      <description>&lt;P&gt;Hi Toby,&lt;BR /&gt;
Going by the definition of a "Number": a quantity or amount.&lt;/P&gt;

&lt;P&gt;Hence making your field an alphanumeric value, which is recognised as a string.&lt;BR /&gt;&lt;BR /&gt;
Please remove your negative vote, as technically it is a valid answer.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2015 15:24:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139747#M38459</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-02-20T15:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk treats any number that uses E (instead of *10) as a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139748#M38460</link>
      <description>&lt;P&gt;Maths would not be possible if it were a string. Please could you remove your answer as it is clearly invalid.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2015 15:27:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139748#M38460</guid>
      <dc:creator>toby6578</dc:creator>
      <dc:date>2015-02-20T15:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk treats any number that uses E (instead of *10) as a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139749#M38461</link>
      <description>&lt;P&gt;Toby, I appreciate that Splunk allows you to do maths with the E in there.&lt;BR /&gt;
But by Documentation of the Eval command (&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/SearchReference/Eval"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/SearchReference/Eval&lt;/A&gt;)&lt;/P&gt;

&lt;P&gt;Maths will be done with any Alphanumeric field (Does not need to be a Number), it will only error in the event it is a Non-Alphanumeric Field.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2015 15:31:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139749#M38461</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-02-20T15:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk treats any number that uses E (instead of *10) as a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139750#M38462</link>
      <description>&lt;P&gt;Normally I would agree, however I believe in this case E is not recognised as a letter, but as its actual scientific meaning, which is *10^. If you wish to escalate this matter further we should arrange a place to meet and sort out our differences like real men, in the form of street countdown.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2015 15:32:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139750#M38462</guid>
      <dc:creator>toby6578</dc:creator>
      <dc:date>2015-02-20T15:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk treats any number that uses E (instead of *10) as a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139751#M38463</link>
      <description>&lt;P&gt;For more information on street countdown, watch The IT Crowd&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2015 15:35:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139751#M38463</guid>
      <dc:creator>toby6578</dc:creator>
      <dc:date>2015-02-20T15:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk treats any number that uses E (instead of *10) as a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139752#M38464</link>
      <description>&lt;P&gt;HI Toby, Documentation is based on how the coding behind Splunk works, in the event you wish to argue this, please contact Splunk support (&lt;A href="mailto:support@splunk.com"&gt;support@splunk.com&lt;/A&gt;) who i'm sure will be able to clarify why this works for you, or if you believe their documentation is wrong, be able to discuss it.&lt;/P&gt;

&lt;P&gt;There is no room for disagreement and as such please remove your negative vote as it does not contribute to the community as they may believe it's not a correct answer, when in actual fact, it's factually correct.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2015 15:37:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139752#M38464</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-02-20T15:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk treats any number that uses E (instead of *10) as a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139753#M38465</link>
      <description>&lt;P&gt;I will definitely email them later, but not to ask... To prove that I, Toby6578, am correct in this instance (and all others). I don't know who you are. I don't know what you want. If you are looking for badges, I can tell you I don't have karma. But what I do have are a very particular set of skills; skills I have acquired over a very long career. Skills that make me a nightmare for people like you. If you accept that i am correct, that'll be the end of it. I will not look for you, I will not pursue you. But if you don't, I will look for you, I will find you, and I will splunk you. &lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2015 15:40:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139753#M38465</guid>
      <dc:creator>toby6578</dc:creator>
      <dc:date>2015-02-20T15:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk treats any number that uses E (instead of *10) as a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139754#M38466</link>
      <description>&lt;P&gt;I Appreciate your quote from Taken, credits to 20th century fox, but in the interest of helping the community, your behaviour on this site should reflect that as such to help the community by upvoting and accepting correct answers so that others who have similar questions can understand.&lt;/P&gt;

&lt;P&gt;The down vote is designed to show that an answer is not correct and should probably only be used in rare circumstances where a member of the community is inaccurate in their answer and you believe this could be misleading to any other user.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2015 15:45:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139754#M38466</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-02-20T15:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk treats any number that uses E (instead of *10) as a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139755#M38467</link>
      <description>&lt;P&gt;Your answer is wrong and thus deserves a down vote... In my opinion I am benefiting the community by allowing other users to easily see that your answer is not a valid response to this question. I accept that we have a difference of opinion, but this is my question and I will not back down. Leave me alone.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2015 15:45:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139755#M38467</guid>
      <dc:creator>toby6578</dc:creator>
      <dc:date>2015-02-20T15:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk treats any number that uses E (instead of *10) as a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139756#M38468</link>
      <description>&lt;P&gt;Toby, this answer has been proven by the documentation and thus so should not be down voted.  In the interest of the community please remove your down vote or I will be forced to report you for false down voting.&lt;/P&gt;

&lt;P&gt;I accept you may see it as an alphanumeric value but alphanumeric is classed as a string in basic programming language, which you will notice once you have completed some training on the subject, Once you have achieved the same amount of gold badges as I have, then please don't hesitate to let me know and then I'll be happy to explain why it's classed as a string.&lt;/P&gt;

&lt;P&gt;So, last time, please remove your negative vote, as it might not have been the answer you was looking for, but it is a factually valid answer and can be used in the future by other users&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2015 15:50:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139756#M38468</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-02-20T15:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk treats any number that uses E (instead of *10) as a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139757#M38469</link>
      <description>&lt;P&gt;I have been using splunk since version 0.1... I know how this stuff works. You don't. I will remove your down vote because I feel sorry for you. That is all.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2015 15:50:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139757#M38469</guid>
      <dc:creator>toby6578</dc:creator>
      <dc:date>2015-02-20T15:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk treats any number that uses E (instead of *10) as a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139758#M38470</link>
      <description>&lt;P&gt;Toby, thanks for you co-operation and you will be recognised for helping the community, please strive to achieve as many badges as you can, but just out of interest, how comes you only joined Splunk answers in jan 2015?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2015 15:54:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139758#M38470</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-02-20T15:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk treats any number that uses E (instead of *10) as a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139759#M38471</link>
      <description>&lt;P&gt;I felt I should give lesser mortals such as yourself a head start when it comes to gaining badges. My fountain of knowledge flows far too strong for simpler minds.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2015 15:54:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-treats-any-number-that-uses-E-instead-of-10-as-a-string/m-p/139759#M38471</guid>
      <dc:creator>toby6578</dc:creator>
      <dc:date>2015-02-20T15:54:10Z</dc:date>
    </item>
  </channel>
</rss>

