-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
need help to debug why Packetbeat not capturing postgresql #123
Comments
Configuration using: |
You might have encryption on? See #90 |
Sorry, this is the ticket I wanted to link to: #46 |
Thanks for quick response. We have encryption off. And I am getting |
Best would be to create a small trace, like this one:
And send it to us at info@packetbeat.com. We can than figure it out if it's because of prepared statements or something else. |
Thanks for the trace, indeed, it's using "unnamed prepared statements". You can see them showing up in wireshark as "T/D/C/Z". Closing this one as a duplicate of #78. We'll try to figure out a solution. |
<!-- Type of change Please label this PR with one of the following labels, depending on the scope of your change: - Bug - Enhancement - Breaking change - Deprecation - Cleanup - Docs --> ## Proposed commit message <!-- Mandatory Explain here the changes you made on the PR. Please explain: - WHAT: patterns used, algorithms implemented, design architecture, message processing, etc. - WHY: the rationale/motivation for the changes This text will be pasted into the squash dialog when the change is committed and will be a long term historical record of the change to help future contributors understand the change, please help them by making it clear and comprehensive, they may be you. If the commit title is adequate to describe both of these things, The text here may be omitted or replaced with "See title". The title of the PR will be used as the commit message title when the merge is made and the "See title" marker will be removed if present. The text here and the PR title will be subject to the PR review process. --> We forgot to modify `libbeat/docs/release.asciidoc` we added changelog on the 8.8 branch. The changelog content was already present. ## Checklist <!-- Mandatory Add a checklist of things that are required to be reviewed in order to have the PR approved List here all the items you have verified BEFORE sending this PR. Please DO NOT remove any item, striking through those that do not apply. (Just in case, strikethrough uses two tildes. ~~Scratch this.~~) --> - [x] I have made corresponding changes to the documentatio ## Related issues <!-- Recommended Link related issues below. Insert the issue link or reference after the word "Closes" if merging this should automatically close it. - Closes #123 - Relates #123 - Requires #123 - Superseds #123 --> - Relates #35580
Can anyone help me how to debug why packetbeat not capturing postgresql packets.
I tried running packetbeat -e -d "pgsql" and it keep on giving below logs
"pgsql.go:472: WARN Postgresql Message too short (length=1). Wait for more.
pgsql.go:630: DBG Message not complete, but sending to the next layer
pgsql.go:723: WARN Response from unknown transaction. Ignoring."
Somewhere before I read that this is because of preparedstatements, but even commands which I ran in psql are not begin captured by packetbeat. Is there any way to debug what is the issue?
Thanks
The text was updated successfully, but these errors were encountered: