Hi Aidan,
No, I don't think there's any plugin for collectd graphs.
I think you're right to stick to the Discover tab until you find you're getting the metrics you're looking for. Then go to Visualize to pick what kind of charts you want, and finally Dashboard to put those visualizations together.
When you go to Discover, I would enter each of your search criteria one at a time and watch the count of hits in the top right corner of the chart. If you add a search criteria and your hits go to 0 you know there's a problem.
And I think you might be doing something wrong on your last "value:??". The search is used to filter out the documents you want (not the data you want from those documents). Try leaving that off.
Try instead to find the "value" field in the left pane on the discover tab and click [Add] on that. That should show you the data under the bar graph.
Save that search and then go to Visualize and select from that saved search.
Maybe a line chart would be good? On the Y-Axis change it from Count to Sum and then the Field selection list appears below it. Here you might pick "value" if that field has the memory used value.
The in the buckets pick X-Axis,
Aggregation: Date Histogram
Field: @timestamp (if you have that)
Interval: Auto
and click the green "Go" arrow
Does that show you anything like what you're looking for?
Many thanks Lee, this worked just as you explained...
I just have one more issue, how to display the values as percentages particularly for cpu and memory ?
I have also noticed that the cpu value seem to be continuously increasing , can't see to figure it out. I'm using collectd version-5.5 installed from tar file.
This is my cpu aggregates plugin:
LoadPlugin aggregation
<Plugin "aggregation">
Plugin "cpu"
Type "cpu"
GroupBy "Host"
GroupBy "TypeInstance"
CalculateAverage true
Hi Aidan,
I'm not sure what the issue is with the increasing values. Maybe you could paste 1 or 2 documents here so we could see the cpu data in them? I'll take a look at Collectd and see if I can easily set up a test.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.