Skip to content

Commit

Permalink
Add examples to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bensadeh committed Sep 16, 2023
1 parent d2b2d49 commit a5928c4
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 7 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,18 @@ nix-shell -p tailspin
<img src="assets/examples/uuids.png" width="600"/>
</p>

### Key-value pairs

<p align="center">
<img src="assets/examples/kv.png" width="600"/>
</p>

### Unix processes

<p align="center">
<img src="assets/examples/processes.png" width="600"/>
</p>

## Customizing Highlight Groups

### Overview
Expand Down
Binary file modified assets/examples/dates.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/examples/keywords.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/examples/kv.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/examples/processes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion config/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ key = { faint = true }
separator = { fg = "white" }

[groups.process]
name = { fg = "yellow" }
name = { fg = "green" }
separator = { fg = "red" }
id = { fg = "yellow" }

Expand Down
14 changes: 8 additions & 6 deletions example-logs/example1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Sun Aug 14 10:51:22.602 DEBUG sharingd (542) is not entitled for com.apple.wifi.
10:51:19.251 Event logged
2022-08-29 08:11:36 Task completed
2022-09-09 11:48:34,534 Last login attempt failed
2022-09-22T07:46:34.171800155Z Server encountered an error
2022-09-22T07:46:34.171800155Z Event logged for debugging purposes

# Numbers
Duration: 42 seconds
Expand Down Expand Up @@ -65,15 +65,17 @@ Configuration file "PrimaryConfig" loaded. Starting operations.
Processing new order for customer "JohnDoe". Stand by.

# Key-value pairs
ts=08:11:36 caller=module_service.go:59 msg=none module=table-manager
ts=08:11:36 caller=module_service.go:59 msg=none module=ingester-querier
ts=08:11:36 caller=lifecycler.go:530 msg="tokens file path is empty"
ts=2022-09-22 caller=ring.go:275 msg="ring doesn't exist in KV store yet"
ts=2022-09-21 caller=client.go:247 msg="value is nil" key=collectors/ring
ts=08:11:36 caller=module_service.go:59 module=table-manager
ts=08:11:36 caller=module_service.go:59 module=ingester-querier
ts=08:11:36 caller=lifecycler.go:530 msg="file path is empty"
ts=2022-09-22 caller=ring.go:275 msg="ring doesn't exist"
ts=2022-09-21 caller=client.go:247 msg="value is nil"

# Processes
kernel[0]: Page fault at address 0xabcdef
mysqld[789]: Connected from 127.0.0.1
docker[654]: Container abcdefgh started successfully
sshd[222]: Accepted publickey for root from 192.168.1.20
cron[101]: Running scheduled job ID 23456


0 comments on commit a5928c4

Please sign in to comment.