Monitoring Splunk

Has anyone monitored couchbase logs using Splunk?

lpolo
Motivator

Has anyone monitored couchbase logs using Splunk?

http://docs.couchbase.com/couchbase-manual-2.2/#logs-and-logging

Could you share your experience?

Thanks,
Lp

Tags (2)
0 Karma

dodilp
New Member

Hi @mleenxa, @Lpolo

Appreciate if you can please share your experiences of using Splunk with Couchbase.

Thanks,
Don Pinto
Couchbase Server Product Manager
don (at) couchbase (dot) com

0 Karma

lpolo
Motivator

I took the following approach:

1) Monitor using splunk only the error log file.
2) Created a custom splunk search command to obtain couchbase cluster and node information. The custom search command is scheduled to obtain the state of the cluster every 5 min. Depending on the state of the cluster, we trigger notification alerts.

Lp

varsha006
Engager

Kindly share the search command to obtain couchbase cluster and node information

0 Karma

mleenxa
Engager

I'm using couchbase 3.0.1. The inputs.conf looks like this:

[monitor:///opt/couchbase/var/lib/couchbase/logs/babysitter.log]
index = couchbase
sourcetype = server:babysitter-log
[monitor:///opt/couchbase/var/lib/couchbase/logs/couchdb.log]
index = couchbase
sourcetype = server:couchdb-log
[monitor:///opt/couchbase/var/lib/couchbase/logs/debug.log]
index = couchbase
sourcetype = server:debug-log
[monitor:///opt/couchbase/var/lib/couchbase/logs/error.log]
index = couchbase
sourcetype = server:error-log
[monitor:///opt/couchbase/var/lib/couchbase/logs/http_access.log]
index = couchbase
sourcetype = server:http_access-log
[monitor:///opt/couchbase/var/lib/couchbase/logs/info.log]
index = couchbase
sourcetype = server:info-log
[monitor:///opt/couchbase/var/lib/couchbase/logs/mapreduce_errors.log]
index = couchbase
sourcetype = server:mapreduce_errors-log
[monitor:///opt/couchbase/var/lib/couchbase/logs/reports.log]
index = couchbase
sourcetype = server:reports-log
[monitor:///opt/couchbase/var/lib/couchbase/logs/ssl_proxy.log]
index = couchbase
sourcetype = server:ssl_proxy-log
[monitor:///opt/couchbase/var/lib/couchbase/logs/start.log]
index = couchbase
sourcetype = server:start-log
[monitor:///opt/couchbase/var/lib/couchbase/logs/stats.log]
index = couchbase
sourcetype = server:stats-log
[monitor:///opt/couchbase/var/lib/couchbase/logs/views.log]
index = couchbase
sourcetype = server:views-log
[monitor:///opt/couchbase/var/lib/couchbase/logs/xdcr_errors.log]
index = couchbase
sourcetype = server:xdcr_errors-log
[monitor:///opt/couchbase/var/lib/couchbase/logs/xdcr.log]
index = couchbase
sourcetype = server:xdcr-log
[monitor:///opt/couchbase/var/lib/couchbase/logs/xdcr_trace.log]
index = couchbase
sourcetype = server:xdcr_trace-log

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 ...