Skip to content

Commit 616c3b6

Browse files
committed
Adds note on how cf app-nozzle differs from cf logs
1 parent 5e6972a commit 616c3b6

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

README.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ OPTIONS:
3131
-subscription-id -s, specify subscription id for distributing firehose output between clients
3232
```
3333

34-
All logs, metrics and events for a given app.
34+
All logs, metrics and events for a given app. This differs from `cf logs APP_NAME`
35+
because it provides other information like container metrics that are related
36+
to the app.
3537

3638
```
3739
NAME:
@@ -50,7 +52,7 @@ OPTIONS:
5052

5153
```bash
5254
cf nozzle
53-
cf app-nozzle myapp
55+
cf app-nozzle APP_NAME
5456
```
5557

5658
### Without Interactive Prompt
@@ -60,43 +62,43 @@ Error message will be displayed for unrecognized filter type
6062
```bash
6163
# For debug
6264
cf nozzle --debug
63-
cf app-nozzle myapp --debug
65+
cf app-nozzle APP_NAME --debug
6466

6567
# For all messages
6668
cf nozzle --no-filter
67-
cf app-nozzle myapp --no-filter
69+
cf app-nozzle APP_NAME --no-filter
6870

6971
# For Log Messages
7072
cf nozzle --filter LogMessage
71-
cf app-nozzle myapp --filter LogMessage
73+
cf app-nozzle APP_NAME --filter LogMessage
7274

7375
# For HttpStart
7476
cf nozzle --filter HttpStart
75-
cf app-nozzle myapp --filter HttpStart
77+
cf app-nozzle APP_NAME --filter HttpStart
7678

7779
# For HttpStartStop
7880
cf nozzle --filter HttpStartStop
79-
cf app-nozzle myapp --filter HttpStartStop
81+
cf app-nozzle APP_NAME --filter HttpStartStop
8082

8183
# For HttpStop
8284
cf nozzle --filter HttpStop
83-
cf app-nozzle myapp --filter HttpStop
85+
cf app-nozzle APP_NAME --filter HttpStop
8486

8587
# For ValueMetric
8688
cf nozzle --filter ValueMetric
87-
cf app-nozzle myapp --filter ValueMetric
89+
cf app-nozzle APP_NAME --filter ValueMetric
8890

8991
# For CounterEvent
9092
cf nozzle --filter CounterEvent
91-
cf app-nozzle myapp --filter CounterEvent
93+
cf app-nozzle APP_NAME --filter CounterEvent
9294

9395
# For ContainerMetric
9496
cf nozzle --filter ContainerMetric
95-
cf app-nozzle myapp --filter ContainerMetric
97+
cf app-nozzle APP_NAME --filter ContainerMetric
9698

9799
# For Error
98100
cf nozzle --filter Error
99-
cf app-nozzle myapp --filter Error
101+
cf app-nozzle APP_NAME --filter Error
100102
```
101103

102104
#### Subscription ID

0 commit comments

Comments
 (0)