You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-12Lines changed: 10 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,8 +112,6 @@ This is recommended for dev environments only.
112
112
* `SPLUNK_METRIC_INDEX`: Index in which metric data will be ingested when monitoring module is enabled
113
113
* `SELECTED_MONITORING_METRICS`: Name of the metrics that you want to monitor and add using comma seprated values. List of the metrics that are supported in the metrics modules are given below
114
114
115
-
116
-
117
115
__About app cache params:__
118
116
119
117
When ADD_APP_INFO config is enabled, the nozzle will enrich the event with app metadata. For this, the nozzle maintains a cache of all the apps locally so that it doesn’t need to query from remote every time.
@@ -142,31 +140,31 @@ on user authentication.
142
140
cd splunk-firehose-nozzle
143
141
```
144
142
145
-
1. Authenticate to Cloud Foundry
143
+
2. Authenticate to Cloud Foundry
146
144
147
145
```shell
148
146
cf login -a https://api.[your cf system domain] -u [your id]
149
147
```
150
148
151
-
1. Copy the manifest template and fill in needed values (using the credentials created during setup)
149
+
3. Copy the manifest template and fill in needed values (using the credentials created during setup)
152
150
153
151
```shell
154
152
vim scripts/ci_nozzle_manifest.yml
155
153
```
156
154
157
-
1. Push the nozzle
155
+
4. Push the nozzle
158
156
159
157
```shell
160
158
make deploy-nozzle
161
159
```
162
160
163
161
#### Dump application info to boltdb ####
164
-
If in production there are lots of CF applications(say tens of thousands) and if the user would like to enrich
165
-
application logs by including application meta data,querying all application metadata information from CF may take some time.
166
-
For example if we include, add app name, space ID, space name, org ID and org name to the events.
162
+
If in production where there are lots of CF applications(say tens of thousands) and if the user would like to enrich
163
+
application logs by including application metadata, querying all application metadata information from CF may take some time -
164
+
for example if we include:add app name, space ID, space name, org ID and org name to the events.
167
165
If there are multiple instances of Spunk nozzle deployed the situation will be even worse, since each of the Splunk nozzle(s) will query all applications meta data and
168
-
cache the meta data information to the local boltdb file. These queries will introduce load to the CF system and could potentially take a long time to finish.
169
-
Users can run this tool to generate a copy of all application meta data and copy this to each Splunk nozzle deployment. Each Splunk nozzle can pick up the cache copy and update the cache file incrementally afterwards.
166
+
cache the metadata information to the local boltdb file. These queries will introduce load to the CF system and could potentially take a long time to finish.
167
+
Users can run this tool to generate a copy of all application metadata and copy this to each Splunk nozzle deployment. Each Splunk nozzle can pick up the cache copy and update the cache file incrementally afterwards.
170
168
171
169
Example of how to run the dump application info tool:
172
170
@@ -275,7 +273,7 @@ DEST_KEY =_MetaData:Index
275
273
REGEX = (sourcetype::cf:splunknozzle)
276
274
FORMAT = new_index
277
275
```
278
-
<p class="note"><strong>Note:</strong>Moving from version 1.2.4 to 1.2.5,timestamp will use nanosecond precision instead of milliseconds.</p>
276
+
<p class="note"><strong>Note:</strong>Moving from version 1.2.4 to 1.2.5,timestamp will use nanosecond precision instead of milliseconds.</p>
279
277
280
278
281
279
__Monitoring(Metric data Ingestion):__
@@ -503,7 +501,7 @@ For development against [bosh-lite](https://github.com/cloudfoundry/bosh-lite),
503
501
copy `tools/nozzle.sh.template` to `tools/nozzle.sh` and supply missing values:
0 commit comments