All Apps and Add-ons

How do I configure collectd to send to the collectd Splunk app?

jsburt
New Member

I'm trying to use the write_http plugin for collectd to send the metrics to Splunk so that I can use the Splunk collectd app to view the results.
I can see the data in Splunk by querying index=collectd and that's fine.
The collectd index is in my default list of searchable indices.

My write_http stanza looks like:
Plugin write_http
Node "node-http-1"
URL "https://xxx..xxx.xxx.xxx:9989/services/collector/raw?channel=f3d00af7-d987-49a8-be4d-f3c605b0dda5"
Header "Authorization: Splunk f3d00af7-d987-49a8-be4d-f3c605b0dda5"
Format "JSON"
Metrics true
StoreRates true
VerifyPeer false
VerifyHost false
LogHttpError true
Node
Plugin

How can I confirm that collectd is sending to the Splunk server on port 9989?

And I do have iptables turned off.

Both machines are Linux servers:
Linux nfldevspc01 2.6.32-696.18.7.el6.x86_64 #1 SMP Thu Dec 28 20:15:47 EST 2017 x86_64 x86_64 x86_64 GNU/Linux

0 Karma

jsburt
New Member

I guess i wasn't clear about my question.
I know the data is getting to the Splunk server and is being ingested by Splunk (since I get data if a query index=collectd).

However, I don't get any results if I use the collectd app.

Jeff

0 Karma

p_gurav
Champion

You can use nestats command.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...