Splunk Observability Cloud

Create Chart joining 2 metrics using plot editor or signal flow?

Babuduraiswamy
Engager

Is there any way to join 2 metrics in plot editor and create a chart or Table.

Eg. Plot A have "otelcol_process_cpu_seconds" and Plot B "have cpu.utilization". 

I need to create Plot C list data exist in B (cpu.untilization) but not exist in plot A(otelcol_process_cpu_seconds"). 

I tried with formula, but formula works only for math operations like B-A (single value) but not working for showing the listing data, I need to plot table shows host name not in "otelcol_process_cpu_seconds".

Labels (1)
Tags (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Count the plots each appears in - if the count is 2 it is in both A and B, therefore it can be removed from C. Now if it appears in (only) A, you can also remove it (since you are not interested in it).

0 Karma

Babuduraiswamy
Engager

I tried your approach like applying count to both A and B. C only gives the difference of A-B.

eg. cpu_unitlization have 20 count and "otelcol_process_cpu_seconds" have 15 count, C=20-15 =5.

I need to find the host name of the missing 5 from the "otelcol_process_cpu_seconds".

My work is to find the running and non-running otelcol agents from all running host machines. I dont find any use full metrics to achieve this 

Thanks

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Perhaps you could share the specific SPL you have tried for this so we can see where you might be going wrong, as it is not easy providing a solution to such vague questions?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

A Four-Part Event Series: Full Stack Observability For the AI Era

As AI reshapes applications, infrastructure, and the way teams operate, the traditional boundaries of ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...