carlos2308

Lieutenant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-08-01
17:30
464 views
how can i parse a decimals for example: 123.45 only logger take 123 why?
3 Replies


Captain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-08-02
10:10
Hi,
What is the regex you have wrote for parsing that value in logs ?
Regards,
Sumanth.
carlos2308

Lieutenant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-08-02
19:12
Hi,
this is 3 lines of log:
1. sss,7829.16,nnn,
2. aaa.3265,idid
3. sss,459.16,nnn
event.deviceCustomNumber3=FIELD
event.deviceCustomNumber3Label=__stringConstant(FIELD)
but in logger dashboard only show the second line of log (3265) but dont show the first and third line with decimals (7829.16 and 459.16)
thanks
carlos2308

Lieutenant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-08-02
19:26
how can i use the regular expression,
i think so:
event.deviceCustomNumber3=___regexTokenAsInteger(FIELD,"(.\\d+)")
Regards