Skip to content

Commit

Permalink
Merge pull request #2137 from SEKOIA-IO/enhance_doc_parser
Browse files Browse the repository at this point in the history
beautify json
  • Loading branch information
pbivic authored Dec 19, 2024
2 parents 0034ed2 + 7905cc1 commit a113d2c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/integration/develop_integration/formats/parser.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,13 @@ Select the way who develop your parse to find the appropriate documentation: wit

was previously used to parse the following event:
```
{'protocol':'tcp','traffic':{'source':'127.0.0.1','target':'8.8.8.8'}}
{
"protocol":"tcp",
"traffic":{
"source":"127.0.0.1",
"target":"8.8.8.8"
}
}
```

To put the `source` and the `target` IP in the final version of the parsed event, the `Set` action can be used:
Expand Down

0 comments on commit a113d2c

Please sign in to comment.