diff options
| -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. |
