Splunk Search

How does splunk handle decimal value?

Communicator

Hi!

I would like to know how does splunk handle the decimal values during eval procesing.

It seems that after the eval(multiplication or division) , the number is rounded to 6digits.

So if the result is 1.123456789, it would be 1.123456.

Is there, rules in splunk for handling decimal number?

Since its crucial issue, any advice is appreciated!

Thanks,
Yu

Tags (3)
0 Karma

SplunkTrust
SplunkTrust

I seem to get more than six decimals... when you run this

| stats count as foo | eval foo = 1000000.0001 | eval bar = foo / 10000000

do you get a value for bar other than 0.10000000001?

0 Karma