terraform-provider-sumologic icon indicating copy to clipboard operation
terraform-provider-sumologic copied to clipboard

Log mapping schema for `field` is unclear

Open darianm23 opened this issue 4 months ago • 2 comments

The field value_type within the field schema would benefit greatly with additional information. This is an important field to determine what kind of log mapping is needed. Documentation here is especially critical because the possible values are not intuitively named. The prime example of this is if you want a "structured" log mapping for a particular field, you must set value_type to equal 'sumofield'.

Additionally, it could be made more clear that setting this field to null is how to configure a "standard" log mapping for a field.

darianm23 avatar Jul 17 '25 17:07 darianm23

e.g.

(config in GUI) Image

(response from /api/sec/v1/log-mappings/{id}) Image

darianm23 avatar Jul 17 '25 17:07 darianm23

Internal ticket SUMO-266391

dlinsumo avatar Jul 18 '25 02:07 dlinsumo