Skip to content

Commit 7478686

Browse files
committed
Screenshot update for fields page
1 parent aa75036 commit 7478686

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

docs/manage/fields.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,11 @@ Fields can be assigned to a Collector and Source using the **Fields** input ta
7878

7979
1. Click **Save**.
8080

81-
![edit collector fields name.png](/img/fields/edit-collector-fields-name.png)
81+
<img src={useBaseUrl('/img/fields/edit-collector-fields-name.png')} alt="edit-collector-fields-name" style={{border:'1px solid gray'}} width="500"/>
8282

8383
In the above example, we have created a new field called `cluster` and set the value to `k8s.dev`. With this configuration, any logs sent to this Collector will now have this key-value pair associated with it.
8484

85-
With this association, you can search for `cluster=k8s.dev` to return your logs.
86-
87-
![collector field search results.png](/img/fields/collector-field-search-results.png)
85+
With this association, you can search for `cluster=k8s.dev` to return your logs. <br/><img src={useBaseUrl('/img/fields/collector-field-search-results.png')} alt="collector-field-search-results" style={{border:'1px solid gray'}} width="800"/>
8886

8987
### Using Collector API
9088

@@ -173,7 +171,7 @@ curl -v -X POST -H 'X-Sumo-Fields:environment=dev,cluster=k8s' -T /file.txt <HTT
173171

174172
When creating or editing your HTTP Source that will receive log data add the field `_convertHeadersToFields` with a value of `true`. This field needs to be added to your Fields schema to work.
175173

176-
![convertHeadersToFields.png](/img/fields/convertHeadersToFields.png)
174+
<img src={useBaseUrl('/img/fields/convertHeadersToFields.png')} alt="convertHeadersToFields" style={{border:'1px solid gray'}} width="500"/>
177175

178176
With this field set on your Source, headers are processed as metadata fields. For example, a cURL command posting data with custom fields would look like:
179177

@@ -255,16 +253,14 @@ When hovering over a row in the table there are icons that appear on the far ri
255253

256254
For the fields listed, select a row to view its details. A details pane appears to the right of the table where you can disable and delete the field.<br/><img src={useBaseUrl('/img/fields/selected-field-details-pane.png')} alt="Manage Fields" style={{border:'1px solid gray'}} width="450"/>
257255

258-
![selected field details pane.png](/img/fields/selected-field-details-pane.png)
259-
260256
#### Add field
261257

262258
Adding a field will define it in the Fields schema allowing it to be assigned as metadata to your logs.
263259

264260
1. Click the **+ Add** button on the top right of the table. A panel named **Add Field** appears to the right of the fields table.
265261
1. Input a field name and click **Save**.
266262

267-
![add field input.png](/img/fields/add-field-input.png)
263+
<img src={useBaseUrl('/img/fields/add-field-input.png')} alt="add-field-input" style={{border:'1px solid gray'}} width="400"/>
268264

269265
#### Disable field
270266

@@ -300,11 +296,11 @@ Built-in fields cannot be deleted.
300296

301297
For example, if the field is used by a Field Extraction Rule, you must first delete the Field Extraction Rule before you can delete the field.
302298

303-
![field cannot delete.png](/img/fields/field-cannot-delete.png)
299+
<img src={useBaseUrl('/img/fields/field-cannot-delete.png')} alt="field-cannot-delete" style={{border:'1px solid gray'}} width="400"/>
304300

305301
If the field is not used by those features you will see the following prompt.
306302

307-
![delete field confirm.png](/img/fields/delete-field-confirm.png)
303+
<img src={useBaseUrl('/img/fields/delete-field-confirm.png')} alt="delete-field-confirm" style={{border:'1px solid gray'}} width="400"/>
308304

309305
#### View dropped fields
310306

139 KB
Loading

0 commit comments

Comments
 (0)