Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1459274 Details for
Bug 1600171
Rsyslog omelasticsearch does not work with ES 6.x strict headers
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
set content-type: application/json; charset=utf-8
0001-Bug-1600171-Rsyslog-omelasticsearch-does-not-work-wi.patch (text/plain), 1.38 KB, created by
Rich Megginson
on 2018-07-16 21:58:54 UTC
(
hide
)
Description:
set content-type: application/json; charset=utf-8
Filename:
MIME Type:
Creator:
Rich Megginson
Created:
2018-07-16 21:58:54 UTC
Size:
1.38 KB
patch
obsolete
>From 8aca362e812827501f0545f4abea140f89fa87e3 Mon Sep 17 00:00:00 2001 >From: Rich Megginson <rmeggins@redhat.com> >Date: Mon, 16 Jul 2018 15:55:35 -0600 >Subject: [PATCH] Bug 1600171 - Rsyslog omelasticsearch does not work with ES > 6.x strict headers > >https://bugzilla.redhat.com/show_bug.cgi?id=1600171 >I did not attempt to backport all of the commits that >touched this particular code, just the code that uses >the macro for the content type. >--- > plugins/omelasticsearch/omelasticsearch.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/plugins/omelasticsearch/omelasticsearch.c b/plugins/omelasticsearch/omelasticsearch.c >index 248a369d2..feb6425f7 100644 >--- a/plugins/omelasticsearch/omelasticsearch.c >+++ b/plugins/omelasticsearch/omelasticsearch.c >@@ -1607,10 +1607,11 @@ curlPostSetup(CURL *handle, HEADER *header, uchar* authBuf, wrkrInstanceData_t * > curl_easy_setopt(handle, CURLOPT_SSLKEY, pWrkrData->pData->myPrivKeyFile); > } > >+#define CONTENT_JSON "Content-Type: application/json; charset=utf-8" > static rsRetVal > curlSetup(wrkrInstanceData_t *pWrkrData, instanceData *pData) > { >- pWrkrData->curlHeader = curl_slist_append(NULL, "Content-Type: text/json; charset=utf-8"); >+ pWrkrData->curlHeader = curl_slist_append(NULL, CONTENT_JSON); > pWrkrData->curlPostHandle = curl_easy_init(); > if (pWrkrData->curlPostHandle == NULL) { > return RS_RET_OBJ_CREATION_FAILED; >-- >2.17.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1600171
: 1459274