Splunk Search

How to display my table in xyseries?

ASISH_9
Engager

I Have the following Display

Domain         Application      ReportingMonth        Price
ADD            Dotnet           1/1/2016              $1000
               DotNet
               DotNet
               Java
               Java

ABV            Javac            2/1/2016              $10000
               DotNet
               DotNet
               Java
               Java     

ABB            DotNet           3/1/2016              $1200
               DotNet
               Java
               Java

I want the above to be displayed in this format

1-2016     2-2016      3-2016                Domain    ApplicationGroup

$1000      $10000      $1200                 Java          ABB
$1000      $10000      $1200                 Dotnet        XYZ  
$1000      $10000      $1200                 sap           abv

how can I do it? i have already user xyseries and mvindex and split command. but the results aren't coming

0 Karma

sundareshr
Legend

Try this

base search resulting in the view described in your question | mvexpand Application | eval Domain=Domain."#".ApplicationGroup | chart values(Price) as Price over Domain by ReportingMonth | rex field=Domain "(?<Domain>[^#]+)#(?<ApplicationGroup>.*)" | table  Domain ApplicationGroup *
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...