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
{{ message }}
This repository was archived by the owner on Jan 6, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+30-30Lines changed: 30 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,49 +1,49 @@
1
-
# Weblogic Logging Exporter
1
+
# WebLogic Logging Exporter
2
2
3
-
An exporter that adds a log event handler to the weblogic server, such that WLS server Logs can be integrated to [Elastic Stack](https://www.elastic.co/products) in Kubernetes directly, by using the REST API in [Elasticsearch](https://www.elastic.co/products/elasticsearch).
3
+
The WebLogic Logging Exporter (the "logging exporter") adds a log event handler to WebLogic Server, such that WLS server logs can be integrated into [Elastic Stack](https://www.elastic.co/products) in Kubernetes directly, by using the [Elasticsearch](https://www.elastic.co/products/elasticsearch) REST API.
4
4
5
-
The blog [Let WebLogic work with Elastic Stack in Kubernetes](https://blogs.oracle.com/weblogicserver/let-weblogic-work-with-elk-in-kubernetes) outlines steps that can be used to harvest WLS server logs using Logstash so that they can be filtered, manipulated, and viewed using Elasticsearch and Kibana.
6
-
However, that approach requires the setup of a shared volume which is outside of the pod, and the logs needs to be written out to an intermediate log file for harvesting and parsing.
5
+
The blog,[Let WebLogic work with Elastic Stack in Kubernetes](https://blogs.oracle.com/weblogicserver/let-weblogic-work-with-elk-in-kubernetes), outlines the steps to harvest WLS server logs using Logstash so that they can be filtered, manipulated, and viewed using Elasticsearch and Kibana.
6
+
However, that approach requires the setup of a shared volume which is outside of the pod, and the logs needs to be written to an intermediate log file for harvesting and parsing.
7
7
8
-
The goal of this project is to provide an easy to configure, robust and productionready solution to access WLS log information through Elasticsearch and Kibana.
8
+
The goal of this project is to provide an easy to configure, robust, and production-ready solution to access WLS log information through Elasticsearch and Kibana.
9
9
10
10
## Getting Started
11
11
12
-
These instructions outlines the steps to build the _weblogic-logging-exporter.jar_, which can then be integrated to the [Weblogic Kubernetes Operator](https://github.com/oracle/weblogic-kubernetes-operator/) for handling the Server logs generated by the Weblogic Server Domain.
12
+
These instructions outline the steps to build the `weblogic-logging-exporter.jar` file, which can then be integrated into the [WebLogic Kubernetes Operator](https://github.com/oracle/weblogic-kubernetes-operator/) for handling the server logs generated by the WebLogic Server domain.
13
13
14
-
###Prerequisites
14
+
## Prerequisites
15
15
16
-
Weblogic Logging Exporter depends on the Weblogic Logging Jar which is available from the [ Oracle Maven Repository](http://maven.oracle.com/).
16
+
The logging exporter depends on the WebLogic logging JAR which is available from the [ Oracle Maven Repository](http://maven.oracle.com/).
17
17
18
18
To access the Oracle Maven Repository, there are two fundamental requirements to be aware of:
19
19
20
-
1. You must be using [Maven 3.2.5](http://maven.apache.org/docs/3.2.5/release-notes.html) or later. This contains the version of the component [Wagon 2.8](http://maven.apache.org/wagon/) that has been enhanced to support access to artifacts that are protected by [HTTP authentication schemes](https://issues.apache.org/jira/projects/WAGON/issues/WAGON-422).
20
+
1. You must be using [Maven 3.2.5](http://maven.apache.org/docs/3.2.5/release-notes.html) or later. This contains the version of the [Wagon 2.8](http://maven.apache.org/wagon/) component that has been enhanced to support access to artifacts that are protected by [HTTP authentication schemes](https://issues.apache.org/jira/projects/WAGON/issues/WAGON-422).
21
21
22
-
2. You must be registered with OTN and have accepted the agreement to access and use the Oracle Maven Repository. This can be done with either a new or an existing OTN user account by accessing the http://maven.oracle.com site and clicking the registration link.
23
-
Once registered, you then just need to configure your local Maven environment with the details of the Oracle Maven Repository, including information that relates to the authentication model specifying your OTN username and password.
22
+
2. You must be registered with OTN and have accepted the license agreement to access and use the Oracle Maven Repository. This can be done with either a new or an existing OTN user account by accessing the http://maven.oracle.com site and selecting the registration link.
23
+
After registering, then you just need to configure your local Maven environment with the details of the Oracle Maven Repository, including the information that relates to the authentication model specifying your OTN user name and password.
24
24
25
-
###Building
26
-
####Configure Maven
25
+
## Building
26
+
### Configure Maven
27
27
28
-
**1. Encrypt your OTN Password**
28
+
#### 1. Encrypt your OTN Password.
29
29
30
30
You need to configure Maven to use the Oracle Maven Repository. This involves telling Maven about the repository and providing the necessary information to authenticate to the repository.
31
-
The following steps shows you how to save your OTN password in your _settings.xml_ file so that you do not have to specify them manually every time.
31
+
The following steps show you how to save your OTN password in your `settings.xml` file so that you do not have to specify it manually every time.
32
32
Oracle recommends that you encrypt your password, using the utilities provided with Maven.
33
33
34
-
Here is the steps to encrypt your password and save that in your settings. Refer to [Maven Password Encryption](http://maven.apache.org/guides/mini/guide-encryption.html) for more information.
34
+
Here are the steps to encrypt your password and save it in your settings. For more information, refer to [Maven Password Encryption](http://maven.apache.org/guides/mini/guide-encryption.html).
35
35
36
36
```
37
37
mvn --encrypt-master-password my_master_password
38
38
39
39
```
40
40
The output will be a string similar to this:
41
41
42
-
_{abcdefghijklmnopqrstuvwxyz123=}_
42
+
`{abcdefghijklmnopqrstuvwxyz123=}`
43
43
44
-
Save this value in your Maven _settings-security.xml_ file
44
+
Save this value in your Maven `settings-security.xml` file.
45
45
46
-
A copy of your _~/.m2/settings-security.xml_ will look like this
46
+
A copy of your `~/.m2/settings-security.xml` file will look like this:
0 commit comments