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: site/installation.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ The following parameters must be provided in the input file:
82
82
| serviceAccount | The name of the service account that the operator will use to make requests to the Kubernetes API server. | weblogic-operator |
83
83
| loadBalancer | Determines which load balancer should be installed to provide load balancing for WebLogic clusters. Allowed values are:<br/>- `none` – do not configure a load balancer<br/>- `traefik` – configure the Traefik Ingress provider<br/>- `nginx` – reserved for future use<br/>- `ohs` – reserved for future use | traefik |
84
84
| loadBalancerWebPort | The NodePort for the load balancer to accept user traffic. | 30305 |
85
-
|enableELKintegration| Determines whether the ELK integration will be enabled. If set to `true`, then ElasticSearch, logstash and Kibana will be installed, and logstash will be configured to export the operator’s logs to ElasticSearch. | false |
85
+
|elkIntegrationEnabled| Determines whether the ELK integration will be enabled. If set to `true`, then ElasticSearch, logstash and Kibana will be installed, and logstash will be configured to export the operator’s logs to ElasticSearch. | false |
86
86
87
87
## Decide which REST configuration to use
88
88
@@ -110,9 +110,9 @@ Note that Ingresses are not created for servers that are not part of a WebLogic
110
110
111
111
### Log integration with ELK
112
112
113
-
The operator can install the ELK stack and publish its logs into ELK. If enabled, ElasticSearch and Kibana will be installed in the `default` namespace, and a logstash pod will be created in the operator’s namespace. Logstash will be configured to publish the operator’s logs into ElasticSearch, and the log data will be available for visualization and analysis in Kibana.
113
+
The operator can install the ELK stack and publish its logs into ELK. If enabled, ElasticSearch and Kibana will be installed in the `default` namespace, and a logstash container will be created in the operator pod. Logstash will be configured to publish the operator’s logs into ElasticSearch, and the log data will be available for visualization and analysis in Kibana.
114
114
115
-
To enable the ELK integration, set the `enableELKintegration` option to `true`.
115
+
To enable the ELK integration, set the `elkIntegrationEnabled` option to `true`.
116
116
117
117
## Deploying the operator to a Kubernetes cluster
118
118
@@ -129,7 +129,6 @@ The script will carry out the following actions:
129
129
* A set of Kubernetes YAML files will be created from the inputs provided.
130
130
* A namespace will be created for the operator.
131
131
* A service account will be created in that namespace.
132
-
* If ELK integration was enabled, a persistent volume for ELK will be created.
133
132
* A set of RBAC roles and bindings will be created.
134
133
* The operator will be deployed.
135
134
* If requested, the load balancer will be deployed.
@@ -213,8 +212,8 @@ The spec section provides details for the container that the operator will execu
213
212
secretName: operator-secrets
214
213
# Uncomment this volume if using ELK integration:
215
214
# - name: log-dir
216
-
# persistentVolumeClaim:
217
-
# claimName: elk-pvc
215
+
# emptyDir:
216
+
# medium: Memory
218
217
# Update the imagePullSecrets with the name of your Kubernetes secret containing
219
218
# your credentials for the Docker Store/Oracle Container Registry.
Copy file name to clipboardExpand all lines: src/main/scripts/logstash.conf
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ input {
8
8
9
9
filter {
10
10
grok {
11
-
match => ["message",'"exception":"%{GREEDYDATA:exception}","headers":{%{GREEDYDATA:headers}},"code":"%{GREEDYDATA:code}","method":"%{GREEDYDATA:method}","level":"*%{WORD:level}","thread":%{DATA:thread},"timeInMillis":%{DATA:timeInMillis},"message":"%{GREEDYDATA:log}","body":"%{GREEDYDATA:body}","class":"%{JAVACLASS:class}","timestamp":"%{DATA:timestamp}"']
11
+
match => ["message",'"timestamp":"%{DATA:timestamp}","thread":%{DATA:thread},"level":"*%{WORD:level}","class":"%{JAVACLASS:class}","method":"%{WORD:method}","timeInMillis":%{POSINT:timeInMillis},"message":%{QUOTEDSTRING:log},"exception":%{QUOTEDSTRING:exception},"code":"%{GREEDYDATA:code}"']
12
12
}
13
13
date {
14
14
match => [ "timestamp", "MM-dd-YYYY'T'HH:mm:ss.SSSZ" ]
0 commit comments