diff options
| author | Paul Buetow <pbuetow@mimecast.com> | 2022-07-18 10:20:59 +0100 |
|---|---|---|
| committer | Paul Buetow <pbuetow@mimecast.com> | 2022-07-18 10:20:59 +0100 |
| commit | e442e3181811966805e108af8bc8fe357504ac70 (patch) | |
| tree | 9c5fa834e65164828b7d777de05e73373c430e82 | |
| parent | 0998d0a8f5a42c957a80a04c9a7fce9d6bb7e445 (diff) | |
Include example for "outfile append".v4.1.0
| -rw-r--r-- | doc/examples.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/examples.md b/doc/examples.md index 56744f5..26ce002 100644 --- a/doc/examples.md +++ b/doc/examples.md @@ -65,6 +65,14 @@ Here is another example:  +You can also continuously append the results to a CSV file by adding `outfile append filename.csv` to the query: + +```shell +% dtail --servers serverlist.txt \ + --files '/var/log/dserver/*.log' \ + --query 'from STATS select ... outfile append result.csv' +``` + ## How to use `dcat` The following example demonstrates how to cat files (display the full content of the files) of multiple servers at once. |
