# Scientific Numbers in Logstash - How to handle them? Need help

**URL:** https://discuss.elastic.co/t/scientific-numbers-in-logstash-how-to-handle-them-need-help/209937
**Category:** Logstash
**Created:** [November 29, 2019, 8:12am UTC](https://discuss.elastic.co/t/scientific-numbers-in-logstash-how-to-handle-them-need-help/209937 "2019-11-29T08:12:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Datakids](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/datakids/32/39622_2.png) [@Datakids](https://discuss.elastic.co/u/Datakids)
#### Post date: [November 29, 2019, 8:12am UTC](https://discuss.elastic.co/t/scientific-numbers-in-logstash-how-to-handle-them-need-help/209937/1 "2019-11-29T08:12:27Z")

</div>

Hi there,  
I have found below mentions post which is a bit helpfull but I dont know how to split a Scientific Notation and merge them afterwards  
.  
A few examples of the numbers I want to handle or to learn how to handle in logstash:

2,3500000000000000E+02  
-3,3000000000000000E+01  
2500000000000000E+03

I tried also with grok but not yet found the right way:

`(?<name-of-field>[([0-9] [+\-]? [0-9])]+)`

> [@Grok pattern to format a special date and scientific notation number](https://discuss.elastic.co/t/grok-pattern-to-format-a-special-date-and-scientific-notation-number/160786):
>
> Hi, I'm looking for two special patterns to convert a date with a special format and to convert a number with scientific notation. For the date, I've got this format yyyyMMdd\_hh:mm:ss (ex: 20181204\_10:50:07) For the scientific notation, here's what I've got and what I want : 2.474731e+01 =\> 24.74731 2.211762e+00 =\> 2.211762 9.629999e-01 =\> 0.9629999 Thanks for your help

Hope you can help me  
Thanks and regards

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [December 27, 2019, 8:12am UTC](https://discuss.elastic.co/t/scientific-numbers-in-logstash-how-to-handle-them-need-help/209937/2 "2019-12-27T08:12:27Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
