<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Timechart Split by Multiple Fields for Trellis in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Timechart-Split-by-Multiple-Fields-for-Trellis/m-p/425551#M122000</link>
    <description>&lt;P&gt;Is there a way to split timechart by more than two fields so that I can use a trellis layout for the visualization? (Kind of analogous to a 3D Table?) &lt;/P&gt;

&lt;P&gt;Ex: I want to compare the trend of the cost over time for different companies in different countries. The following search has all the data I need. I can then split by country with trellis layout but will not be able to see the comparison between companies.  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| stats avg(cost) by _time, Company, Country 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The following works, but I would then need to create individual panels for every country I am interested in. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| search Country = "USA"
| timechart avg(cost) by Company
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This gets closer..but the timechart is still not able to split by the "Company" field  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval temp = _time."-".Company
| xyseries temp,Country, cost
| rex field=temp "(?&amp;lt;_time&amp;gt;([^\s]+))-(?&amp;lt;Company&amp;gt;\w+)"
| fields - temp
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any advice would be much appreciated!&lt;/P&gt;</description>
    <pubDate>Wed, 24 Apr 2019 21:25:48 GMT</pubDate>
    <dc:creator>trikppy</dc:creator>
    <dc:date>2019-04-24T21:25:48Z</dc:date>
    <item>
      <title>Timechart Split by Multiple Fields for Trellis</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-Split-by-Multiple-Fields-for-Trellis/m-p/425551#M122000</link>
      <description>&lt;P&gt;Is there a way to split timechart by more than two fields so that I can use a trellis layout for the visualization? (Kind of analogous to a 3D Table?) &lt;/P&gt;

&lt;P&gt;Ex: I want to compare the trend of the cost over time for different companies in different countries. The following search has all the data I need. I can then split by country with trellis layout but will not be able to see the comparison between companies.  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| stats avg(cost) by _time, Company, Country 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The following works, but I would then need to create individual panels for every country I am interested in. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| search Country = "USA"
| timechart avg(cost) by Company
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This gets closer..but the timechart is still not able to split by the "Company" field  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval temp = _time."-".Company
| xyseries temp,Country, cost
| rex field=temp "(?&amp;lt;_time&amp;gt;([^\s]+))-(?&amp;lt;Company&amp;gt;\w+)"
| fields - temp
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any advice would be much appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 21:25:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-Split-by-Multiple-Fields-for-Trellis/m-p/425551#M122000</guid>
      <dc:creator>trikppy</dc:creator>
      <dc:date>2019-04-24T21:25:48Z</dc:date>
    </item>
  </channel>
</rss>

