Comments (2)
Hi there! This is more a question for the official docs, but I can help you out here if you like. Yes, what you're looking for is possible. Something like the following would be needed:
- Install Cluster Logging Operator
- Create a LogStorage like so, only specifying the collector field (so not specifying visualization or logStore):
apiVersion: logging.openshift.io/v1
kind: ClusterLogging
metadata:
name: <name>
namespace: <namespace>
spec:
managementState: "Managed"
collection:
type: "vector"
This will install the vector daemon-set (you should see the pods start to pop up in the openshift-logging namespace)
- Create a ClusterLogForwarder CR like so, specifying where you'd like vector to send the logs:
apiVersion: logging.openshift.io/v1
kind: ClusterLogForwarder
metadata:
name: <log_forwarder_name>
namespace: <log_forwarder_namespace>
spec:
serviceAccountName: <service_account_name>
pipelines:
- inputRefs:
- <log_type>
outputRefs:
- <output_name>
outputs:
- name: <output_name>
type: <output_type>
url: <log_output_url>
This should trigger vector to immediately reconfigure and start sending logs to your endpoint (you should see the pods restart with the correct config. If they do not, please check that the endpoint is in the supported list here: https://github.com/openshift/cluster-logging-operator/blob/master/api/logging/v1/output_types.go#L8
Hope this helps, and I'm working on some new how-to's for this site in my spare time. I'll leave this issue open so I can remember to crack on with it.
from documentation.
Thank you Andy! We will try that!
Best regards, Jan
from documentation.
Related Issues (20)
- Issues with the spellcheck GHA?
- Azure Key Vault issues?
- typo in Add Servive Principal for the new app section
- document using egress-ip in ROSA OVN clusters HOT 1
- Secrets Delivery on ROSA/ARO with external-secrets operator
- update docs/aro/add-infra-nodes/ with latest information from Azure docs HOT 1
- Broken Link to Okta doc that has been removed
- No need to modify the DNS nameserver from OS when you configure VPN Client
- AWS Secrets Manager CSI Doc Issue HOT 1
- Implement Red Hat search on new site
- Add blockquote styles to Red Hat Design System theme
- Create alert shortcode HOT 1
- Update web accessibility issues HOT 3
- Deploying ROSA in STS mode prereqs 404s HOT 1
- ROSA - AWS Load Balancer Operator - Non STS Cluster HOT 2
- Motivations there to have 3 ingress controller replicas instead of the default 2??
- Azure ARC integration document needs to be updated. HOT 1
- azure arc workaround doc needs to be modified HOT 2
- Procedure using the SG from the nodes for the EFS configuration.
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 documentation.