# Unable to Visualise Metricbeat system.process.CPU data

**URL:** <https://discuss.elastic.co/t/unable-to-visualise-metricbeat-system-process-cpu-data/105103>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [October 24, 2017, 4:42pm UTC](https://discuss.elastic.co/t/unable-to-visualise-metricbeat-system-process-cpu-data/105103 "2017-10-24T16:42:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![londonx](https://avatars.discourse-cdn.com/v4/letter/l/da6949/32.png) [@londonx](https://discuss.elastic.co/u/londonx)\
**Post date:** [October 24, 2017, 4:42pm UTC](https://discuss.elastic.co/t/unable-to-visualise-metricbeat-system-process-cpu-data/105103/1 "2017-10-24T16:42:19Z")

</div>

Running Metricbeat v6 RC1 (trialling the perfmon counter functionality), but have Metricbeat reporting metrics at a process level also, note I have "top n" selected as well as specifiying a few processes the idea was that I want the values for those processes in addition to any process that appears as a top 5 in memory or CPU:

```
#------------------------------- System Module -------------------------------
- module: system
  enabled: true
  period: 15s
  metricsets:
    - cpu # CPU usage
    #- load # CPU load averages (linux only)
    - memory # Memory usage
    - network # Network IO
    - process # Per process metrics
    - process_summary # Process summary
    #- core # Per CPU core usage
    - diskio # Disk IO
    #- socket # Sockets and connection info (linux only)

  processes: ['x1.exe', 'x2.exe', 'x3.exe', 'x4.exe', 'x5.exe', 'x6.exe', 'x7', 'x8.exe', 'x9.exe', 'x10.exe', 'x11.exe']
  process.include_top_n:
    by_cpu: 5 # include top 5 processes by CPU
    by_memory: 5 # include top 5 processes by memory
    
  # Configure the metric types that are included by these metricsets.
  cpu.metrics: ["percentages"] # The other available options are normalized_percentages and ticks.

  # Configuring a less frequent disk monitor
  
- module: system
  enabled: true
  period: 1m
  metricsets:
    - filesystem # File system usage for each mountpoint
    - fsstat # File system summary metrics

```

Have all the data in Elastic, and see the fields in Kibana (4.5.4)

Filtering Kibana by metricset.name:process I see about 20 entries per 15seconds,

filtering by the required system.process.cpu.total.pct and system.process.cpu.norm.pct metrics I see:

 ![metricbeatKibana1](https://us1.discourse-cdn.com/elastic/original/3X/4/9/498e201b9b7a1cf42b7d544753af2b107386c90f.png)

All looks good, now when I try and visualise this in Kibana it completely ignores the system.process.cpu.norm.pct and only provides a unusual system.process.cpu.total.pct (100%) value for a couple of the system.process.names.

If I view system.process.cpu.total.pct I see the expected block of 100% with Max Aggregation selected

 ![metricbeatKibana2](https://us1.discourse-cdn.com/elastic/original/3X/b/d/bd7f8f9b6acda35b23c3cc21d6c5ad911acd7f60.png)

Now if I break this down by process.name.raw I only get a couple of processes but with very strange values, especially the flat baseline of 100% (8 core system) for only 2 processes and everything seems to be in blocks of 100% and does not show the myriad of processes being monitored and the varied CPU values. I choose MAX aggregation as I want to see the real peaks.

 ![metricbeatKibana3](https://us1.discourse-cdn.com/elastic/original/3X/e/6/e67a3e5c1ed9e162bf72447a77a718852c6fbe0c.png)

If I select Average Value I see something that might be more plausible for an 8 core system but it only shows data for a few process names:

 ![metricbeatKibana4](https://us1.discourse-cdn.com/elastic/original/3X/0/a/0a2d2cbb50afb8346ad0547b6bcc0f8a1a7ccae2.png)

Note "the area may only contain partial data"

Maybe this is a problem with using "cpu.Total" on an 8 core system, so I try the normalised Field and get a blank screen even though the values are there!

 ![metricbeatKibana5](https://us1.discourse-cdn.com/elastic/original/3X/b/d/bd2dcade2d2e5672d98dcb6866886c3eb49f1504.png)

By contrast the various "system.process.memory" metrics seem to display just fine whether using Average or Max aggregation:

 ![metricbeatKibana6](https://us1.discourse-cdn.com/elastic/original/3X/f/d/fdf536a130df7583cfef6359c2d5aff8c3fcd0d1.png)

Any idea what I'm doing wrong with the CPU stats?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 21, 2017, 4:42pm UTC](https://discuss.elastic.co/t/unable-to-visualise-metricbeat-system-process-cpu-data/105103/2 "2017-11-21T16:42:40Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
