You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Map fields are a special type of field that can hold a collection of nested key-value pairs within a single field. You can think of the content of a map field as a JSON object.
8
11
9
12
Axiom automatically creates map fields in datasets that use [OpenTelemetry](/send-data/opentelemetry) and you can create them yourself.
@@ -50,16 +53,36 @@ If an entity name has spaces (` `), dots (`.`), or dashes (`-`), you can only us
50
53
51
54
For more information, see [Entity names](/apl/entities/entity-names#quote-identifiers).
52
55
53
-
## Create map fields
56
+
## Create map fields using UI
54
57
55
-
To create a map field:
58
+
To create a map field using the UI:
56
59
57
60
1. Go to the Datasets tab.
58
61
1. Select the dataset where you want to create the map field.
59
62
1. In the top right of the fields list, click <imgsrc="/doc-assets/icons/ellipsis-vertical.svg"className="inline-icon"alt="Vertical ellipsis icon" /> **More > Create map field**.
60
63
1. In **Field name**, enter the full name of the field, including parent fields, if any. For example, `map_field_name`. For more information on syntax, see [Access properties of nested maps](#access-properties-of-nested-maps)
61
64
1. Click **Create map field**.
62
65
66
+
## Create map fields using API
67
+
68
+
To create a map field using the Axiom API, send a request to the [Create map field](/restapi/endpoints/createMapField) endpoint. For example:
0 commit comments