-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gather GUIDs from applications only with v4.0.0 #55
Comments
We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story. The labels on this github issue will be updated when the story is started. |
Few more further questions and observations: Why is the
In CF, the application names are unique only in a space and to identify an application globally an app guid is needed.
The only option to get app guids that I've found up until now is to get the apps and platform data together and then to filter out everything that does not have a guid format.
From a usability point of view the operators can not do much about the platform logs, so their focus is on observing how the applications behave. With the v4 of the plugin the only way to correctly identify the apps is to get all the log-meta data like in the last example and filter out the platform components. |
In order to get a list of the noisy neighbour applications up until now (up until the latest 4.0.0 release ) we were using v3.1.0 and the following command to get the GUIDs of the applications together with the log stats:
After we get the guids we run another CF API call to get the organization and space where the app is running:
cf curl /v3/apps?guids=GUID[i]&include=space,space.organization
and the end we show everything as a table.Now we've installed the latest version of the log-cache cli plugin and we've got an error that the
--guid
switch can only be used with--source-type=platform
. Therefore we've tested with:and in the output we've found guids and names of the CF's system components like:
Are the
GUIDs
only from running applications? Can we simply run the output through GUID validator to filter out the system components and leave the application guids only?Is there some other way to get only the guids of the applications?
Best Regards,
Jovan
The text was updated successfully, but these errors were encountered: