Skip to content

Commit 33d45f7

Browse files
JV0812jpipkin1
andauthored
Export audit events (#5179)
* Export search results - audit event * minor fix * Update docs/search/get-started-with-search/search-basics/export-search-results.md Co-authored-by: John Pipkin (Sumo Logic) <[email protected]> * Update docs/search/get-started-with-search/search-basics/export-search-results.md * Update export-search-results.md --------- Co-authored-by: John Pipkin (Sumo Logic) <[email protected]>
1 parent 1c6befb commit 33d45f7

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

docs/search/get-started-with-search/search-basics/export-search-results.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,35 @@ You can export message fields to a CSV file, either just the fields displayed, o
2929
Click the gears icon in the top-right corner of the **Messages** tab, and then select **Export** **(Display Fields)** to export only the messages displayed, or **Export (All Fields)** to export all message fields. If the export is successful, your browser will automatically download the data and save it to a CSV file.
3030

3131
![export fields](/img/search/get-started-search/search-basics/export-search-results/export-fields.png)
32+
33+
:::info
34+
Audit events will be generated for every search results export (displayed fields or all fields). Administrators can use `_sourceCategory=content` with `eventName:"SearchExported"` to view these [audit events](/docs/manage/security/audit-indexes/audit-event-index/) to ensure that no sensitive data is exported.
35+
36+
<details>
37+
<summary>Sample log message</summary>
38+
```json
39+
{
40+
"userIdentity":{
41+
"userId":"00000000001***1",
42+
"userEmail":"***.****@sumologic.com"
43+
},
44+
"searchExportIdentity":{
45+
"exportId":"67C19***5BB4D96"
46+
},
47+
"sessionId":"0FF9*****B09F",
48+
"searchQuery":"_sourcecategory \**00 \"kubernetes/system\" \"error\"\n| where _pid \u003* \"****\"",
49+
"exportedCount":11,
50+
"location":"service UI raw",
51+
"status":"SUCCESS",
52+
"eventType":"Audit",
53+
"severityLevel":"Info",
54+
"accountId":"00000000005****7",
55+
"eventId":"da6a5a2b-****-****-b01c-b63dba93fa66",
56+
"eventName":"SearchExported",
57+
"eventTime":"2025-03-24T15:49:27.664Z",
58+
"eventFormatVersion":"1.0 beta",
59+
"subsystem":"content"
60+
}
61+
```
62+
</details>
63+
:::

0 commit comments

Comments
 (0)