Skip to content

Commit 04e9878

Browse files
authored
Merge pull request #21 from cloudfoundry/app-nozzle-docs
App nozzle docs
2 parents 0809ced + 616c3b6 commit 04e9878

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ User must be logged in as admin
1515

1616
### Options
1717

18+
The entire firehose for CF.
19+
1820
```
1921
NAME:
2022
nozzle - Displays messages from the firehose
@@ -29,10 +31,28 @@ OPTIONS:
2931
-subscription-id -s, specify subscription id for distributing firehose output between clients
3032
```
3133

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.
37+
38+
```
39+
NAME:
40+
app-nozzle - Displays messages from the firehose for a given app
41+
42+
USAGE:
43+
cf app-nozzle APP_NAME
44+
45+
OPTIONS:
46+
-debug -d, enable debugging
47+
-filter -f, specify message filter such as LogMessage, ValueMetric, CounterEvent, HttpStartStop
48+
-no-filter -n, no filter. Display all messages
49+
```
50+
3251
### With Interactive Prompt
3352

3453
```bash
3554
cf nozzle
55+
cf app-nozzle APP_NAME
3656
```
3757

3858
### Without Interactive Prompt
@@ -42,33 +62,43 @@ Error message will be displayed for unrecognized filter type
4262
```bash
4363
# For debug
4464
cf nozzle --debug
65+
cf app-nozzle APP_NAME --debug
4566

4667
# For all messages
4768
cf nozzle --no-filter
69+
cf app-nozzle APP_NAME --no-filter
4870

4971
# For Log Messages
5072
cf nozzle --filter LogMessage
73+
cf app-nozzle APP_NAME --filter LogMessage
5174

5275
# For HttpStart
5376
cf nozzle --filter HttpStart
77+
cf app-nozzle APP_NAME --filter HttpStart
5478

5579
# For HttpStartStop
5680
cf nozzle --filter HttpStartStop
81+
cf app-nozzle APP_NAME --filter HttpStartStop
5782

5883
# For HttpStop
5984
cf nozzle --filter HttpStop
85+
cf app-nozzle APP_NAME --filter HttpStop
6086

6187
# For ValueMetric
6288
cf nozzle --filter ValueMetric
89+
cf app-nozzle APP_NAME --filter ValueMetric
6390

6491
# For CounterEvent
6592
cf nozzle --filter CounterEvent
93+
cf app-nozzle APP_NAME --filter CounterEvent
6694

6795
# For ContainerMetric
6896
cf nozzle --filter ContainerMetric
97+
cf app-nozzle APP_NAME --filter ContainerMetric
6998

7099
# For Error
71100
cf nozzle --filter Error
101+
cf app-nozzle APP_NAME --filter Error
72102
```
73103

74104
#### Subscription ID

0 commit comments

Comments
 (0)