> For the complete documentation index, see [llms.txt](https://daggy.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://daggy.gitbook.io/docs/daggy-console-application/data-aggregation-snippets.md).

# Data Aggregation Snippets

## About Data Aggregation Snippets

Data Aggregation Snippet - tempate that allows aggregate data via command line

## Useful Data Aggregation Snippets

### Dump entire network traffic for remote host

```yaml
entireNetwork:
    exec: tcpdump -i any -s 0 port not 22 -w -
    extension: pcap
```

### Journald logs streaming

```yaml
journaldLog:
    exec: journalctl -f
    extension: log
```
