<?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: Trellis multi value by date in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472767#M133060</link>
    <description>&lt;P&gt;as I mention overlay chart not separate chart for today and yesterday, need to both of them in single chart for each code.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Apr 2020 07:56:16 GMT</pubDate>
    <dc:creator>indeed_2000</dc:creator>
    <dc:date>2020-04-16T07:56:16Z</dc:date>
    <item>
      <title>Trellis multi value by date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472758#M133051</link>
      <description>&lt;P&gt;Hi &lt;BR /&gt;
I want to create chart that compare single values daily.&lt;BR /&gt;
for example want to compare (about 30 different product codes) that exist in my log (today vs yesterday), and visualize it with Trellis where as show compare each code on separate chart (for today and yesterday)&lt;/P&gt;

&lt;P&gt;expected chart (separate by product code=100 and product code=200 &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8671i5C7F4FC99994B803/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;I write SPL like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="myindex"  | timechart count by code span=1h | timewrap d
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but it combine them and show count of all product code in same chart and separate it by date!&lt;BR /&gt;
any recommendation?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 09:13:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472758#M133051</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2020-04-15T09:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Trellis multi value by date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472759#M133052</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/217339"&gt;@indeed_2000&lt;/a&gt; try making use of Splunk's internal fields date_mday and date_hour. Following is a run anywhere example based on Splunk's _internal index.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=splunkd earliest=-1d@d latest=now component IN ("UIAuth","WatchedFile","Metrics","PeriodicHealthReporter","LMStackManager")
| eval date_hour=printf("%02d",date_hour)
| stats count by date_hour date_mday component
| eval date_mday=if(date_mday!=strftime(now(),"%Y/%m/%d"),"Yesterday","Today")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In your case try the following and confirm!&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  index="myindex"
| eval date_hour=printf("%02d",date_hour)
| stats count by date_hour date_mday code
| eval date_mday=if(date_mday!=strftime(now(),"%Y/%m/%d"),"Yesterday","Today")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:01:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472759#M133052</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-09-30T05:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Trellis multi value by date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472760#M133053</link>
      <description>&lt;P&gt;i try both, but neither of them create chart like what i describe in post.&lt;BR /&gt;
need overlay chart for compare yesterday and today for each code in Trellis.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 21:18:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472760#M133053</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2020-04-15T21:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Trellis multi value by date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472761#M133054</link>
      <description>&lt;P&gt;![alt text][1]&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 23:12:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472761#M133054</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-15T23:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Trellis multi value by date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472762#M133055</link>
      <description>&lt;P&gt;![alt text][1]&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 23:12:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472762#M133055</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-15T23:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Trellis multi value by date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472763#M133056</link>
      <description>&lt;P&gt;![edited]&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 23:12:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472763#M133056</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-15T23:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Trellis multi value by date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472764#M133057</link>
      <description>&lt;P&gt;it create several empty chart and separate them each 30 minutes! &lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 23:12:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472764#M133057</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2020-04-15T23:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Trellis multi value by date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472765#M133058</link>
      <description>&lt;P&gt;default Splunk can't display Trellis what you want.&lt;BR /&gt;
make dashboard , use base search and display two chart.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 23:12:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472765#M133058</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-15T23:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Trellis multi value by date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472766#M133059</link>
      <description>&lt;P&gt;two chart? as I mention about 30 product codes, means 30 chart and might be increase depend on data that's why i use Tellis.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 23:12:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472766#M133059</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2020-04-15T23:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Trellis multi value by date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472767#M133060</link>
      <description>&lt;P&gt;as I mention overlay chart not separate chart for today and yesterday, need to both of them in single chart for each code.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 07:56:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472767#M133060</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2020-04-16T07:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Trellis multi value by date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472768#M133061</link>
      <description>&lt;P&gt;yes it's not difficult but I want to use it for other fields too that some of them might be increase up to 100 different items!&lt;/P&gt;

&lt;P&gt;like this: product code=30, product id=100, product tag=80, and so on ...&lt;/P&gt;

&lt;P&gt;I need to find a way splunk automatically create this chart because when new field add automatically add to this dashboard  &lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 08:04:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472768#M133061</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2020-04-16T08:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Trellis multi value by date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472769#M133062</link>
      <description>&lt;P&gt;Do you want to &lt;STRONG&gt;look&lt;/STRONG&gt; a hundred items?&lt;/P&gt;

&lt;P&gt;see @rich7177 answer&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/529004/is-there-a-way-to-display-more-than-20-charts-at-a.html"&gt;https://answers.splunk.com/answers/529004/is-there-a-way-to-display-more-than-20-charts-at-a.html&lt;/A&gt;&lt;BR /&gt;
and try another way.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 09:05:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472769#M133062</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-16T09:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Trellis multi value by date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472770#M133063</link>
      <description>&lt;P&gt;Actually my problem is this how can i generate them automatically not limitation number of chart on a single page!&lt;/P&gt;

&lt;P&gt;Let me declare Imagine i have 10 chart, now problem is how can i create them automatically without create manually! &lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 09:32:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472770#M133063</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2020-04-16T09:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Trellis multi value by date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472771#M133064</link>
      <description>&lt;P&gt;I see , I'm sorry to waste your time. &lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 09:34:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472771#M133064</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-16T09:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Trellis multi value by date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472772#M133065</link>
      <description>&lt;P&gt;No no I don’t mean you waste my time &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
BTW thank you for your answer. &lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 10:25:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trellis-multi-value-by-date/m-p/472772#M133065</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2020-04-16T10:25:03Z</dc:date>
    </item>
  </channel>
</rss>

