Skip to content
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

SplunkHecOutput: Failed POST - {"text":"Invalid data format","code":6,"invalid-event-number":0} #565

Closed
jaypalpatil opened this issue Feb 24, 2021 · 7 comments

Comments

@jaypalpatil
Copy link

Dear Team,

I have deployed fluentd manifest file and getting the below error

Error on Kubernetes side
2021-02-23 09:39:33 +0000 [error]: #0 Fluent::Plugin::SplunkHecOutput: Failed POST to http://10.69.82.42:8088/services/collector, response: {"text":"Invalid data format","code":6,"invalid-event-number":0}
2021-02-23 09:39:38 +0000 [error]: #0 Failed POST to http://10.69.82.42:8088/services/collector, response: {"text":"Invalid data format","code":6,"invalid-event-number":0}

BR,
JP

@rockb1017
Copy link
Contributor

Are you using helm to deploy SCK?

@jaypalpatil
Copy link
Author

Hi,

Deployed using the Manifest files

@jaypalpatil
Copy link
Author

Using the SCK Manifest files...

@jagadeesh-kancherla-tfs

2021-03-31 11:26:31 +0000 [error]: #0 Failed POST to https://http-inputs-xxx.splunkcloud.com/services/collector, response: {"text":"Incorrect index","code":7,"invalid-event-number":1}
2021-03-31 11:26:31 +0000 [error]: #0 Fluent::Plugin::SplunkHecOutput: Failed POST to https://http-inputs-xxx.splunkcloud.com/services/collector, response: {"text":"Incorrect index","code":7,"invalid-event-number":1}

@vinzent
Copy link
Contributor

vinzent commented Mar 31, 2021

The important part is: Incorrect index

check your splunk.com/index Annotation on the pod or namespace. Or the default index in the fluentd config.

@rajathithan
Copy link

can any one let me know how you resolved the "text":"Invalid data format" issue.

@parjinderpannu
Copy link

Unfortunately it is not clear on how "text":"Invalid data format" issue is resolved.

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

No branches or pull requests

6 participants