New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE
Highlighted
Vice Admiral
Vice Admiral
496 views

Flex Connector - Database

Dear Team,

I am stuck with a strange problem. I want to integrate one of our custom application through database. Application is dumping it's trace logs in an Oracle database table.

Table has 4 columns, Transaction ID, Field Name, Old Value, New Value.

10240, UserName, Kaleem, Kaleem Ullah

10240, Dept, IT, Software

10240, MobileNo,101010101, 202020202

10240,Address, xyz, abc

Please suggest how can I collect an event data from this table, that all fields data should be shown in a single row. 

Regards,

Kaleem Ullah

Regards,
Kaleem Ullah
0 Likes
3 Replies
Highlighted
Captain
Captain

I had in past same problem. But i reconciled with this.

0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

This one is a bit tricky, but ask your DBA if he can write a query which can concatenate the values and output it. Also be aware that the output may have empty tokens in some cases.

Once he writes out the query, ask the DBA to send you multiple sample output so you can ensure that the parser is robust.

Also ensure that you add the following 

contains.empty.tokens=true

In your parser, because I assume that not always all fields will be populated

0 Likes
Highlighted
Captain Captain
Captain

Have you tried Union operator in your configuration file ?

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.