@@ -7,7 +7,7 @@ The WebLogic Logging Exporter adds a log event handler to WebLogic Server,
7
7
such that WebLogic Server logs can be integrated into [ Elastic Stack] ( https://www.elastic.co/products )
8
8
in Kubernetes directly, by using the [ Elasticsearch] ( https://www.elastic.co/products/elasticsearch ) REST API.
9
9
10
- The current version of the WebLogic Logging Exporter is 0.1 , which was released on March 16 , 2019.
10
+ The current version of the WebLogic Logging Exporter is 1.0.0 , which was released on September 6 , 2019.
11
11
This version supports pushing logs into Elasticsearch using the REST API.
12
12
13
13
The following features are planned for the next few releases:
92
92
mvn install
93
93
```
94
94
95
- The ` weblogic-logging-exporter-0.1 .jar ` will be available under the ` target ` directory.
95
+ The ` weblogic-logging-exporter-1.0.0 .jar ` will be available under the ` target ` directory.
96
96
97
97
## Installation
98
98
99
99
This section outlines the steps that are required to add the Weblogic Logging Exporter to Weblogic Server.
100
100
101
101
1 . Download or build the WebLogic Logging Exporter as described above.
102
102
103
- 1 . Copy the ` weblogic-logging-exporter-0.1 .jar ` into a suitable location, e.g. into your domain directory.
103
+ 1 . Copy the ` weblogic-logging-exporter-1.0.0 .jar ` into a suitable location, e.g. into your domain directory.
104
104
105
105
1 . Add a startup class to your domain configuration.
106
106
@@ -119,7 +119,7 @@ This section outlines the steps that are required to add the Weblogic Logging Ex
119
119
</startup-class>
120
120
```
121
121
122
- 1. Add `weblogic-logging-exporter.jar` and `snakeyaml-1.23.jar` to your classpath.
122
+ 1. Add `weblogic-logging-exporter-1.0.0 .jar` and `snakeyaml-1.23.jar` to your classpath.
123
123
124
124
This project requires `snakeyaml` to parse the YAML configuration file. If you built the project locally,
125
125
you can find this JAR file in your local maven repository at `~/.m2/repository/org/yaml/snakeyaml/1.23/snakeyaml-1.23.jar`.
@@ -132,7 +132,7 @@ This section outlines the steps that are required to add the Weblogic Logging Ex
132
132
directory is `/u01/base_domain`):
133
133
134
134
```
135
- export CLASSPATH="/u01/base_domain/weblogic-logging-exporter-0.1 .jar:/u01/base_domain/snakeyaml-1.23.jar:$CLASSPATH"
135
+ export CLASSPATH="/u01/base_domain/weblogic-logging-exporter-1.0.0 .jar:/u01/base_domain/snakeyaml-1.23.jar:$CLASSPATH"
136
136
```
137
137
138
138
1. Create a configuration file for the WebLogic Logging Exporter.
@@ -147,7 +147,7 @@ This section outlines the steps that are required to add the Weblogic Logging Ex
147
147
publishPort: 9200
148
148
domainUID: domain1
149
149
weblogicLoggingExporterEnabled: true
150
- weblogicLoggingIndexName: wls
150
+ weblogicLoggingIndexName: domain1- wls
151
151
weblogicLoggingExporterSeverity: Notice
152
152
weblogicLoggingExporterBulkSize: 1
153
153
weblogicLoggingExporterFilters:
@@ -158,6 +158,8 @@ This section outlines the steps that are required to add the Weblogic Logging Ex
158
158
send the logs from multiple domains to the same Elasticsearch server. If you are using the WebLogic Kubernetes
159
159
Operator, it is strongly recommended that you use the same `domainUID` value that you use for the domain.
160
160
161
+ It is also strongly recommended that you consider using a different Elastcsearch index name for each domain.
162
+
161
163
If you prefer to place the configuration file in a different location, you can set the environment variable
162
164
`WEBLOGIC_LOGGING_EXPORTE_CONFIG_FILE` to point to the location of the file.
163
165
0 commit comments