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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...