<?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 Re: How do you use multiple by fields with a trellis layout? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-use-multiple-by-fields-with-a-trellis-layout/m-p/415786#M119677</link>
    <description>&lt;P&gt;@tgdvopab if your issue is resolved, do go ahead and accept the answer to mark this question as resolved!&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jan 2019 16:01:52 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2019-01-21T16:01:52Z</dc:date>
    <item>
      <title>How do you use multiple by fields with a trellis layout?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-use-multiple-by-fields-with-a-trellis-layout/m-p/415784#M119675</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I want to get the average from a value, group this by cluster and hostname and show the value in a timechart.&lt;/P&gt;

&lt;P&gt;With the grid-view, I would like to have one panel for each cluster.&lt;/P&gt;

&lt;P&gt;For example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=foo sourcetype=bar | timechart avg(Value) by cluster,hostname
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And have for each cluster a separate panel.&lt;/P&gt;

&lt;P&gt;Is this possible? I know that multiple by fields are possible with the stats-command.&lt;/P&gt;

&lt;P&gt;But, I'm not able to group them with the grid view.&lt;/P&gt;

&lt;P&gt;Someone can help me please?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 14:51:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-use-multiple-by-fields-with-a-trellis-layout/m-p/415784#M119675</guid>
      <dc:creator>tgdvopab</dc:creator>
      <dc:date>2019-01-21T14:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use multiple by fields with a trellis layout?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-use-multiple-by-fields-with-a-trellis-layout/m-p/415785#M119676</link>
      <description>&lt;P&gt;@tgdvopab, what do you imply by Grid View? If you are on Splunk 6.6 or higher, try to feed the output of following query to &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/VisualizationTrellis"&gt;Trellis Layout&lt;/A&gt; and Split by &lt;CODE&gt;Cluster&lt;/CODE&gt; as aggregation field.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=foo sourcetype=bar 
| bin _time span=1h
| stats count by  cluster,hostname
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Jan 2019 15:47:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-use-multiple-by-fields-with-a-trellis-layout/m-p/415785#M119676</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-01-21T15:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use multiple by fields with a trellis layout?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-use-multiple-by-fields-with-a-trellis-layout/m-p/415786#M119677</link>
      <description>&lt;P&gt;@tgdvopab if your issue is resolved, do go ahead and accept the answer to mark this question as resolved!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 16:01:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-use-multiple-by-fields-with-a-trellis-layout/m-p/415786#M119677</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-01-21T16:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use multiple by fields with a trellis layout?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-use-multiple-by-fields-with-a-trellis-layout/m-p/415787#M119678</link>
      <description>&lt;P&gt;Thanks for your answer! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
Now I need to have the data from stats in a timechart.&lt;BR /&gt;
So I think I need also the _time value in stats, for example: stats count by _time,cluster,hostname&lt;BR /&gt;
But this doesn't work. Do you have an idea?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 15:24:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-use-multiple-by-fields-with-a-trellis-layout/m-p/415787#M119678</guid>
      <dc:creator>tgdvopab</dc:creator>
      <dc:date>2019-01-22T15:24:40Z</dc:date>
    </item>
  </channel>
</rss>

