Comments (8)
The documentation says to create a UAA client with:
--authorities doppler.firehose,cloud_controller.global_auditor
But apparently "cloud_controller.global_auditor" doesn't have sufficient authority to read the application environment vars so the IgnoredApp property in the BoltDB is never changed to true.
Changing your UAA Client to have "cloud_controller.admin_read_only" allows the app to be ignored again.
from firehose-to-syslog.
Should work, the issue maybe could be the time of the apps info are reloaded in boltDB or memory.
from firehose-to-syslog.
The env var was set over weekend, and it was still not recognizing it Monday. Did something change in the 5.0.0 release to how the environment data is gathered from CF?
from firehose-to-syslog.
Ok when digging through the caching code...
It looks to never goes back to CF and recache it up again due to rv.TTL.After
firehose-to-syslog/caching/caching_lazyfill.go
Lines 96 to 108 in 2c5a3f2
If we were to change the rv.TTL.Before
then it would re-lookup it when the TTL has expired...
var rv entity
err = c.store.Get(makeCacheStorageKey(entityType, uuid), &rv)
switch err {
case nil:
if rv.TTL.Before(time.Now()) {
return &rv, nil
//continue
}
// else continue
case ErrKeyNotFound:
// continue
default:
return nil, err
}
from firehose-to-syslog.
It should go back, but randomly as cache will be invalidated https://github.com/cloudfoundry-community/firehose-to-syslog/blob/develop/caching/caching_lazyfill.go#L153
from firehose-to-syslog.
Is there a way to test that, because that is not what we are seeing? As we pulled the boltdb from the VM and looked at it
from firehose-to-syslog.
We will give it a try and see it fixes the issue
from firehose-to-syslog.
The above fixes the problem -- we recreated the UUA client with the correct permission and I used that setting today to stop an apps logging. -- I did have to cause a cf restage [app_name]
to pick up the environmental setting
from firehose-to-syslog.
Related Issues (20)
- " read: connection reset by peer" when connecting to Syslog server HOT 1
- Firehose Nozzle app experiences following issue sometimes HOT 2
- Splunk logs are missing in flight. HOT 4
- How can GoVersion be updated in nozzle v4.1.1? HOT 10
- Suffix Stripping using a Regex instead of HasSuffix Function HOT 4
- F2S Upgrade Question HOT 3
- Performance Discussion HOT 1
- ERR panic: runtime error: invalid memory address or nil pointer dereference^ HOT 47
- Failed to compile uaatokenrefresher
- Exception occurred! Message: Missed Logs Details: HOT 6
- Connect to Pivotal Webservices HOT 1
- The process misses to send all the tags keys to syslog
- v5.0.0+ too slow logging with PCF/PAS 2.5 (no problem in v4.1.1) HOT 7
- Ingestor_Cloudfoundry_Firehose SIGSEGV: segmentation violation /Missing logs HOT 1
- where can i find documentation of available options, switches, and environment variables and their acceptable values HOT 1
- HttpStartStop invalid app id HOT 1
- Unable to Revert back to V1 loggregator due to performance concerns / And Cloud Foundry announcement
- Org, Space name and ID's not available.
- firehose-to-syslog arm64/aarch64 release
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firehose-to-syslog.