The number of voluntary and involuntary context switches is not a metric that is exposed by Metricbeat. Feel free to open an enhancement request to have this information added to the Metricbeat system process metricset. I know we have some code that could provide these metrics.
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.