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
Copy file name to clipboardExpand all lines: docs/cse/schema/create-structured-log-mapping.md
+17-18Lines changed: 17 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ You can use a constant mapping to map a constant encountered in a message to a C
71
71
72
72
Given the example constant mapping below, if the key value “true” is encountered in an incoming message, that value is mapped to the success schema attribute.
@@ -88,7 +88,7 @@ You can use an extracted mapping to map a field that was extracted from a log me
88
88
89
89
Given the following example mapping, if the extracted field `serial` is encountered in a message, its value is mapped to the `resource` schema attribute.
@@ -109,7 +109,7 @@ The example mapping below creates a string by combining the values of the `first
109
109
110
110
the mapping combines the values of the ` firstName` and the `lastName` message fields, separated by a space. The resulting value, "John Doe", is mapped to the `user_username` attribute.
@@ -127,13 +127,13 @@ You can use a joined mapping to join multiple values together and map them to a
127
127
128
128
In the screenshot below, we're configuring a mapping that joins the value of the `actor.firstname` and `actor.lastname` fields and maps the result to the `user_username` attribute. For example, if the value of `actor.firstname` is "zaya", and the value of `actor.lastname` is "hedad", this mapping would result in "zayahedad" being written to the `user_username` attribute.
1.**Input Fields**. Enter the names of input fields. These are the fields from incoming messages whose values you want to join.
133
-
1.**Delimiter.** Enter the character that delimits the segments of the input fields.
133
+
1.**Input Field Delimiter.** Enter the character that delimits the segments of the input fields.
134
134
1.**Show optional fields**. Expand this section if you want to specify one or more alternative input fields, or set a default value to be mapped to the target in the event that the input field is null.
135
-
1.**Alternate input fields**. Enter one or more fields, separated by spaces. If any of the input fields you entered above do not exist in a message, or is null, the value of the first alternative field that exists in the message and isn’t null will be mapped to the Cloud SIEM attribute you’ll specify later in this procedure.
136
-
1.**Default value**. Enter the value you want to write to the Cloud SIEM attribute in the event that neither the input field or any alternative fields with non-null values exist in the message.
135
+
1.**Alternate Input Fields**. Enter one or more fields, separated by spaces. If any of the input fields you entered above do not exist in a message, or is null, the value of the first alternative field that exists in the message and isn’t null will be mapped to the Cloud SIEM attribute you’ll specify later in this procedure.
136
+
1.**Default Value**. Enter the value you want to write to the Cloud SIEM attribute in the event that neither the input field or any alternative fields with non-null values exist in the message.
137
137
1.**Output Field**. Select an output field. This is the Record attribute whose value you wish to populate.
138
138
139
139
### lookup mapping
@@ -146,7 +146,7 @@ In the screenshot below, we’ve defined a set of lookup key-value pairs that sp
146
146
147
147
The configuration shown below defines what value to write to the logonType attribute of a Record when the EventData.LogonType message field value is “1”, “2”, “3”, or “4”, which will be “Interactive”, “”Network”, “Batch”, and “Service”, respectively.
@@ -168,7 +168,7 @@ You can use a split mapping to split the character-delimited value of an input f
168
168
169
169
In the screenshot below, we’re configuring a mapping that splits the value of the actor.email field when an ampersand (@) is encountered, and maps the first segment to the user_username attribute. For example, if the value of actor.email is “[email protected]”, this mapping would result in “ddonavan” being written to the `user_username` attribute.
@@ -191,34 +191,33 @@ An alternate input field won’t be mapped to the selected attribute if the spec
191
191
192
192
In the screenshot below, we’re configuring a mapping that maps the value of the `EventData.LogonProcessName` message field to the `application` attribute. We defined one alternate input field, `AppId`, which will be mapped to the `application` attribute if the `EventData.LogonProcessName` field is not found in the message, or exists and is null.
1. Select standard from the **Create a new … mapping field?** pull-down.
199
199
1.**Input Field**. Enter the name of an input field. This is the field from incoming messages whose value you want to write to the Cloud SIEM attribute you’ll specify later in this procedure.
200
200
1.**Show optional fields**. Expand this section if you want to specify one or more alternative input fields, or set a default value to be mapped to the target in the event that the input field is null.
201
-
202
-
1.**Alternate input fields**. Enter one or more fields, separated by spaces. If the Input Field you entered above doesn’t exist in a message, or is null, the value of the first alternative field that exists in the message and isn’t null will be mapped to the Cloud SIEM attribute you’ll specify later in this procedure.
203
-
1.**Default value**. Enter the value you want to write to the Cloud SIEM attribute in the event that neither the input field or any alternative fields with non-null values exist in the message.
201
+
1.**Alternate Input Fields**. Enter one or more fields, separated by spaces. If the Input Field you entered above doesn’t exist in a message, or is null, the value of the first alternative field that exists in the message and isn’t null will be mapped to the Cloud SIEM attribute you’ll specify later in this procedure.
202
+
1.**Default Value**. Enter the value you want to write to the Cloud SIEM attribute in the event that neither the input field or any alternative fields with non-null values exist in the message.
204
203
1.**Output Field**. Select an output field. This is the Record attribute whose value you wish to populate.
205
204
1. Click **Add Field** to save the field mapping.
206
205
207
206
**Example standard mapping: multiple input fields**
208
207
209
-
This example mapping combines the values of `fielda` and `fieldb`, separated by a period delimiter, and maps the result to the `user_username` attribute.
208
+
This example mapping combines the values of `firstname` and `lastname`, separated by a period delimiter, and maps the result to the `user_username` attribute.
210
209
211
-
We defined two alternative fields, `fieldc` and `fieldd`. If `fielda`and `fieldb` are not found in a message or are null, the values of `fieldc` and `fieldd` are used instead to form the value to be mapped to the `user_username` attribute.
210
+
We defined two alternative fields, `first` and `last`. If `firstname`and `lastname` are not found in a message or are null, the values of `first` and `last` are used instead to form the value to be mapped to the `user_username` attribute.
212
211
213
-
We also defined a default value: if `fieldc` and `fieldd` are not found in a message or are null, the default value “john.doe” is mapped to the `user_username` attribute.
212
+
We also defined a default value: if `first` and `last` are not found in a message or are null, the default value “john.doe” is mapped to the `user_username` attribute.
1. Select **standard** from the **Create a new … mapping field?** pull-down.
220
219
1.**Add more fields**. Expand this section.
221
-
1.**Input Fields**. Enter the names of the input fields to be combined, separated by spaces.
220
+
1.**Input Fields**. Enter the names of the input fields to be combined, separated by spaces.
222
221
1.**Input Field Delimiter**. Enter the character to use as the delimiter between the input field values.
223
222
1.**Show optional fields**. Click this if you want to specify one or more alternative input fields, or set a default value to be mapped to the target in the event that the input field is null.
224
223
1.**Alternate input fields**. Enter one or more fields, separated by spaces. If any of the Input Fields you entered above don’t exist in a message, or are null, the values of the alternative fields you enter will be combined and mapped to the Cloud SIEM attribute you’ll specify later in this procedure.
0 commit comments