云日志服务 LTS-转换函数:ct_oct

时间:2024-07-25 10:14:31

ct_oct

使用ct_oct函数将字段或表达式的数值转换为八进制数。

  • 函数格式
    ct_oct(value)
  • 参数说明

    参数名称

    参数类型

    是否必填

    说明

    value

    数字或数字字符串

    待转换的值。

  • 返回结果

    返回八进制的数值。

  • 函数示例
    • 测试数据
      {
       "number": 123
      }
    • 加工规则
      e_set("ct_oct", ct_oct(v("number")))
    • 加工结果
      number: 123
      ct_oct: 0o173
support.huaweicloud.com/usermanual-lts/lts_07_0157.html