Skip to content

Implement a K/V container #178

Closed
Closed
@alexkornitzer

Description

@alexkornitzer

We currently support a single container type for Chainsaw rules used when hunting which is JSON. Currently the way containers work is a tad confusing, there is room for improvement but that is not in scope for now.

Since it is not documented anywhere i'll list how it currently works:

- name:               # Friendly name for extracted field 
  container:
    field: example    # The field containing the embedded data
    format: json      # How to extract the embedded data
  to: foo             # The field to map to within the embedded data
  from: example.foo   # The name of the field in the filter to map from

The plan is to add a new container that will extract key value pairs from a string given a delimiter and a separator. To elaborate:

key1:value1 key2:value2

With separator : and delimiter we would get:

key1: value1
key2: value2

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions