log()
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
The natural logarithm is the base-e logarithm: the inverse of the natural exponential function (exp).
Syntax
log(
number)
Learn more about syntax conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
number | real |
✔️ | The number for which to calculate the logarithm. |
Returns
log()
returns the natural logarithm of the input.null
if the argument is negative or null or can't be converted to areal
value.
Example
print result=log(5)
Output
result |
---|
1.6094379124341003 |