How-To
Collect and Read Logs for an Oracle Connection
Environment
- Alteryx Designer
- Oracle Connection
- Wireshark
Procedure
Step 1: Collecting logs using Wireshark
- Take note of the Oracle Server's IP Address - either use nslookup or have the customer ask their IT.
- Create a test workflow in Alteryx. Try to make the workflow as simple as possible with as little data as possible being read in.
- Open Wireshark and make sure you select the right interface to capture traffic.
- Start capturing traffic in Wireshark.
- Run the Alteryx workflow.
- Upon Workflow completion, stop capturing traffic in Wireshark.
Step 2: Reading the logs
- Filter for the server's IP address using the following syntax: ip.addr == 10.10.10.10
- The first three lines should be [SYN], [SYN,ACK] and [ACK] between the local machine and the server.
- The next line should be the request to connect.
- Right-click on the line and select Follow > TCP Stream. This will show the traffic between the local machine and the server related to this connection.
- For a successful connection, you should see:
a. The initial request
b. Authentication
c. The version
d. The query
e. Metadata query(ies)
f. The data being transferred
g. At the very end, the server should send a message "ORA-01403: no data found". This tells us that the end of file has been reached.
- Examples of errors you might see:
- Table not found
The connection authenticates but an error is thrown right after the query is sent:
- Invalid username or password
An error is thrown during authentication: