Skip to content

Commit

Permalink
Merge pull request #646 from IBM/GRD-91434
Browse files Browse the repository at this point in the history
GRD 91434 : Removed the logger statement
  • Loading branch information
rasikashete3 authored Jan 8, 2025
2 parents 0e546e8 + f697d1a commit 84394d7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 34 deletions.
Binary file not shown.
4 changes: 2 additions & 2 deletions filter-plugin/logstash-filter-mariadb-guardium/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,12 @@ The Guardium universal connector is the Guardium entry point for native audit lo

* Download the filter plug-in configuration file [MariaDB.conf](https://github.com/IBM/universal-connectors/raw/main/filter-plugin/logstash-filter-mariadb-guardium/MariaDB.conf).

**Note**: For Guardium Data Protection version 11.4 without appliance bundle 11.0p490 or prior or Guardium Data Protection version 11.5 without appliance bundle 11.0p540 or prior, download the [logstash-filter-mariadb_guardium_filter.zip](https://github.com/IBM/universal-connectors/releases/download/v1.5.6/logstash-filter-mariadb_guardium_filter.zip) plug-in. (Do not unzip the offline-package file throughout the procedure).
**Note**: For Guardium Data Protection version 11.4 without appliance bundle 11.0p490 or prior or Guardium Data Protection version 11.5 without appliance bundle 11.0p540 or prior, download the [logstash-filter-mariadb_guardium_filter.zip](MariaDBOverFilebeatPackage/MariaDB/logstash-filter-mariadb_guardium_filter.zip) plug-in. (Do not unzip the offline-package file throughout the procedure).

## Procedure
1. On the collector, go to Setup > Tools and Views > Configure Universal Connector.
2. Enable the universal connector if it is disabled.
3. Click **Upload File** and select the offline [logstash-filter-mariadb_guardium_filter.zip](https://github.com/IBM/universal-connectors/releases/download/v1.5.6/logstash-filter-mariadb_guardium_filter.zip) plug-in. After it is uploaded, click **OK**. This step is not necessary for Guardium Data Protection v11.0p490 or later, v11.0p540 or later, v12.0 or later.
3. Click **Upload File** and select the offline [logstash-filter-mariadb_guardium_filter.zip](MariaDBOverFilebeatPackage/MariaDB/logstash-filter-mariadb_guardium_filter.zip) plug-in. After it is uploaded, click **OK**. This step is not necessary for Guardium Data Protection v11.0p490 or later, v11.0p540 or later, v12.0 or later.
4. Click the Plus sign to open the Connector Configuration dialog box.
5. Type a name in the Connector name field.
6. Update the input section to add the details from [mariadb.conf](https://github.com/IBM/universal-connectors/raw/main/filter-plugin/logstash-filter-mariadb-guardium/MariaDB.conf) file's input part, omitting the keyword "input{" at the beginning and its corresponding "}" at the end.
Expand Down
31 changes: 0 additions & 31 deletions filter-plugin/logstash-filter-mariadb-guardium/filter.conf

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ public static Time getTime(final Event event) {
long millis = date.toInstant().toEpochMilli();
int minOffset = date.getOffset().getTotalSeconds() / 60;
Time time = new Time(millis, minOffset, 0);
log.error(event.getField("totalOffset").toString());
long t = (time.getTimstamp()) - (Integer.valueOf(event.getField("totalOffset").toString()) * 60000);
time.setTimstamp(t);

Expand Down

0 comments on commit 84394d7

Please sign in to comment.