[
https://issues.apache.org/jira/browse/NIFI-5596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mohit updated NIFI-5596:
------------------------
Description:
Splunk Rest API server is load balanced usually requires the clients must
support and send cookies with requests. In my corporate environment, Splunk
6.6.6 Enterprise is provided in such way which fails when Nifi tried to connect
to it.
Multi-cookie support was added in splunk-sdk-java v-1.6.3 onwards. which is
used in nifi-splunk processor.
Proposed resolution:
I have updated the version of splunk-sdk-java in pom.xml of
[nifi-splunk-bundle|https://github.com/apache/nifi/tree/master/nifi-nar-bundles/nifi-splunk-bundle].
Also, performed the manual testing from the build. It now works fine and build
is sane. I will propose the PR with this Jira issue.
was:
In my corporate environment, Splunk 6.6.6 Enterprise is provided. The Rest API
server is load balanced which requires the clients must support and send
cookies with requests.
Multi-cookie support was added in splunk-sdk-java v-1.6.3 onwards. which is
used in nifi-splunk processor.
Proposed resolution:
I have updated the version of splunk-sdk-java in pom.xml of
[nifi-splunk-bundle|https://github.com/apache/nifi/tree/master/nifi-nar-bundles/nifi-splunk-bundle].
Also, performed the manual testing from the build. It now works fine and build
is sane. I will propose the PR with this Jira issue.
> GetSplunk 401 unauthorized :Multi-cookie based session is not supported by
> splunk-sdk-java 1.5.0
> ------------------------------------------------------------------------------------------------
>
> Key: NIFI-5596
> URL: https://issues.apache.org/jira/browse/NIFI-5596
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.7.1
> Environment: all
> Reporter: Mohit
> Priority: Major
> Labels: ready-to-commit
>
> Splunk Rest API server is load balanced usually requires the clients must
> support and send cookies with requests. In my corporate environment, Splunk
> 6.6.6 Enterprise is provided in such way which fails when Nifi tried to
> connect to it.
> Multi-cookie support was added in splunk-sdk-java v-1.6.3 onwards. which is
> used in nifi-splunk processor.
>
> Proposed resolution:
> I have updated the version of splunk-sdk-java in pom.xml of
> [nifi-splunk-bundle|https://github.com/apache/nifi/tree/master/nifi-nar-bundles/nifi-splunk-bundle].
> Also, performed the manual testing from the build. It now works fine and
> build is sane. I will propose the PR with this Jira issue.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)