Splunk Search

Timechart Comparing Two Values

vtsguerrero
Contributor

Can Anyone Please Help Me With This Synthax?
I've got an extracted from xml field already (CodigoCanal) And One Database field (COD_TIPO_SITU_PSST) and I really need to make a timechart for these two as follows

  • index=main sourcetype=main_perfomance| timechart max(CodigoCanal,COD_TIPO_SITU_PSST) *

How can I make this work asap pliz...
Thanks in advance!

0 Karma

lguinn2
Legend

Try this

index=main sourcetype=main_perfomance
| timechart max(CodigoCanal) max(COD_TIPO_SITU_PSST)

Although you may need to give a clearer description of what you want to to see on the timechart. I am just guessing.

somesoni2
Revered Legend

Could you provide more details upon what you want to plot? plot whichever is maximum of CodigoCanal COD_TIPO_SITU_PSST?

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...