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
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...