@@ -4,17 +4,17 @@ The goal of this project is to provide an easy to configure, robust, and product
4
4
WLS log information through Elasticsearch and Kibana.
5
5
6
6
The WebLogic Logging Exporter adds a log event handler to WebLogic Server,
7
- such that WebLogic server logs can be integrated into [ Elastic Stack] ( https://www.elastic.co/products )
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
10
The current version of the WebLogic Logging Exporter is 0.1, which was released on March 16, 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:
14
14
15
- * Push logs into a fleuntd aggregator using the REST API,
15
+ * Push logs into a fleuntd aggregator using the REST API.
16
16
* Write logs in JSON format into the file system so that they could be collected and published by a
17
- sidecar, e.g. fluentd or Logstash,
17
+ sidecar, e.g. fluentd or Logstash.
18
18
* Provide the ability to publish other logs (i.e. other than the server logs).
19
19
20
20
## Contents
@@ -37,9 +37,9 @@ You can download the WebLogic Logging Exporter already compiled for you from the
37
37
If you prefer, you can build the WebLogic Logging Exporter from the source code. To do this, you will
38
38
need access to some WebLogic Server libraries. There are two ways to get these libraries:
39
39
40
- * Populate you local Maven repository with the required files from a local WebLogic Server installation
40
+ * Populate your local Maven repository with the required files from a local WebLogic Server installation
41
41
using the Oracle Maven Synchronization plugin, or
42
- * Use the Oracle Maven repository to download them as part of your build, this requires registration and
42
+ * Use the Oracle Maven repository to download them as part of your build; this requires registration and
43
43
configuring your local Maven installation with the appropriate authentication details.
44
44
45
45
### Populating your local Maven repository from a local WebLogic Server installation
@@ -49,13 +49,13 @@ to install the necessary dependencies into your local Maven repository.
49
49
50
50
There are two steps:
51
51
52
- * Install the Oracle Maven Synchronization plugin,
53
- * Run the " push" goal to populate your local Maven repository from your WebLogic Server installation.
52
+ * Install the Oracle Maven Synchronization plugin.
53
+ * Run the ` push ` goal to populate your local Maven repository from your WebLogic Server installation.
54
54
55
55
#### Installing the Oracle Maven Synchronization plugin
56
56
57
- To install the plugin, navigate to your WebLogic Server installation then enter the commands (this example
58
- assumes you installed WebLogic Server in /u01/wlshome):
57
+ To install the plugin, navigate to your WebLogic Server installation, then enter the commands (this example
58
+ assumes you installed WebLogic Server in ` /u01/wlshome ` ):
59
59
60
60
```
61
61
cd /u01/wlshome/oracle_common/plugins/maven/com/oracle/12.2.1/oracle-maven-sync
@@ -76,7 +76,7 @@ normally located at `~/.m2/repository/com/oracle/weblogic`.
76
76
77
77
### Using the Oracle Maven repository
78
78
79
- Note: If you populated your local repository using the Oracle Maven Synchronization plugin, then this
79
+ ** Note** : If you populated your local repository using the Oracle Maven Synchronization plugin, then this
80
80
step is * not* required.
81
81
82
82
To access the Oracle Maven repository, refer to the documentation
@@ -104,8 +104,8 @@ This section outlines the steps that are required to add the Weblogic Logging Ex
104
104
105
105
1 . Add a startup class to your domain configuration.
106
106
107
- * In the administration console , navigate to "Environment" then "Startup and Shutdown classes" in the main menu.
108
- * Add a new Startup class, you may choose any descriptive name, and the class name must be
107
+ * In the Administration Console , navigate to "Environment" then "Startup and Shutdown classes" in the main menu.
108
+ * Add a new Startup class. You may choose any descriptive name and the class name must be
109
109
` weblogic.logging.exporter.Startup ` .
110
110
* Target the startup class to each server that you want to export logs from.
111
111
@@ -163,14 +163,14 @@ This section outlines the steps that are required to add the Weblogic Logging Ex
163
163
164
164
1. Restart the servers to activate the changes. After restarting the servers, they will load the WebLogic
165
165
Logging Exporter and start sending their logs to the specified Elasticsearch instance. You can then
166
- access them in Kibana as shown in the example below, you will need to create an index first and then go to
166
+ access them in Kibana as shown in the example below. You will need to create an index first and then go to
167
167
the visualization page.
168
168
169
169

170
170
171
171
172
172
You can also use a curl command similar to the following example to verify that logs have been posted to Elasticsearch.
173
- The default index name is " wls" , and docs.count should be greater than zero indicating that log entries
173
+ The default index name is ` wls` , and ` docs.count` should be greater than zero indicating that log entries
174
174
are being sent to Elasticsearch.
175
175
176
176
```
0 commit comments