Skip to content

fix: wrong log format for splunk-hec-logging#9478

Merged
juststillthinking merged 7 commits into
apache:masterfrom
jiangfucheng:splunk_hec_logging
May 19, 2023
Merged

fix: wrong log format for splunk-hec-logging#9478
juststillthinking merged 7 commits into
apache:masterfrom
jiangfucheng:splunk_hec_logging

Conversation

@jiangfucheng

Copy link
Copy Markdown
Member

Description

Fixes #9458

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

@juststillthinking

Copy link
Copy Markdown
Contributor

@Sn0rt please help to review

plugins = {
["splunk-hec-logging"] = {
endpoint = {
uri = "http://127.0.0.1:18088/services/collector",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is the backend server ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copy

Sn0rt
Sn0rt previously approved these changes May 17, 2023
@juststillthinking juststillthinking changed the title fix: Wrong log format for splunk-hec-logging fix: wrong log format for splunk-hec-logging May 17, 2023
@juststillthinking

Copy link
Copy Markdown
Contributor

The real test cases are needed and i see an issue has been created: #9489.
So it's enough for this pr

@juststillthinking

Copy link
Copy Markdown
Contributor

Hi @jiangfucheng, It looks like that some ci failed because of your commit, please fix the ci error

@jiangfucheng
jiangfucheng dismissed stale reviews from juststillthinking and Sn0rt via 937949a May 17, 2023 13:21
@jiangfucheng

Copy link
Copy Markdown
Member Author

Hi @jiangfucheng, It looks like that some ci failed because of your commit, please fix the ci error

Fixed, thx.

@Sn0rt

Sn0rt commented May 18, 2023

Copy link
Copy Markdown
Contributor

@leslie-tsang pls help review.

@juststillthinking
juststillthinking merged commit 8af5b70 into apache:master May 19, 2023
AlinsRan pushed a commit to AlinsRan/apisix that referenced this pull request Jun 25, 2023
@jiangfucheng
jiangfucheng deleted the splunk_hec_logging branch August 6, 2023 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Wrong log format for splunk-hec-logging

6 participants