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!

Enterprise Security Content Updates (ESCU) - New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 3 releases of new content via the Enterprise ...

Thought Leaders are Validating Your Hard Work and Training Rigor

As a Splunk enthusiast and member of the Splunk Community, you are one of thousands who recognize the value of ...

.conf23 Registration is Now Open!

Time to toss the .conf-etti 🎉 —  .conf23 registration is open!   Join us in Las Vegas July 17-20 for ...