Wondering what is the purpose - is it to get some insight into the cluster?

Besides the logs themselves, another approach that many and I have taken is to 
pull the JMX metrics from Cassandra and push them to an appropriate 
metrics/timeseries system.

Here's one approach of getting JMX metrics out as JSON over HTTP - 
https://blog.pythian.com/two-easy-ways-poll-apache-cassandra-metrics-using-jmx-http-bridge/

I have taken the approach of using Logstash with JMX input plugin to pull 
metrics and push to OpenTSDB.

Here's a sample of the final dashboard - https://pasteboard.co/H2i5dFl.png from 
my metrics.

From: Nicolas Guyomar <nicolas.guyo...@gmail.com>
Date: Wednesday, January 10, 2018 at 4:26 AM
To: <user@cassandra.apache.org>
Subject: Re: C* Logs to Kibana

Hi,

I believe you can use Logstash to parse C* logs, using some grok pattern like 
those : https://gist.github.com/ibspoof/917a888adb08a819eab7163b97e018cb so 
that you gain some nice insight of what your cluster is really doing !

It feel more "native" than to add some jar in C* lib in order to change logging 
behavior, and it will be easier for you to post some log on this ML if you keep 
the original format :)

On 10 January 2018 at 11:07, shalom sagges 
<shalomsag...@gmail.com<mailto:shalomsag...@gmail.com>> wrote:
Hi All,
I want to push the Cassandra logs (version 3.x) to Kibana.
Is there a way to configure the Cassandra logs to be in json format?
If modifying the logs to json is not an option, I came across this blog post 
from about a year ago regarding that matter:
https://medium.com/@alain.rastoul/pushing-cassandra-logs-into-elasticsearch-9be3b52af754

Is that a good way of accomplishing that?

Thanks!

Reply via email to