<?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 automatic high resize in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Timechart-automatic-high-resize/m-p/497118#M138469</link>
    <description>&lt;P&gt;Hi, &lt;BR /&gt;
I've got a timechart with different columns (depending on the search). If I don't get many columns, the high of the timechart is enough. If I get many columns results, the timechart high is not enough and all will be pressed together. &lt;/P&gt;

&lt;P&gt;So I tried to change the high automatically by the column results, but I don't know how to get the correct column results on the "XXXXXXX". $job.resultCount$ is not correct, because it gives me the row results. &lt;/P&gt;

&lt;P&gt;Someone an Idea?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;            &amp;lt;search&amp;gt;
              &amp;lt;query&amp;gt;Linie=$Token_Linie$  Antyp=$Token_Antyp$  
              | eval combined_field= Linie + " " + Antyp 
              | eventstats count as "totalCount" by An 
              | timechart  count(totalCount) BY combined_field
              &amp;lt;/query&amp;gt;
              &amp;lt;earliest&amp;gt;$Token_IO_NIO_Zeit.earliest$&amp;lt;/earliest&amp;gt;
              &amp;lt;latest&amp;gt;$Token_IO_NIO_Zeit.latest$&amp;lt;/latest&amp;gt;
              &amp;lt;done&amp;gt;
                   &amp;lt;eval token="tokPanelHeight2"&amp;gt;100*$XXXXXXX$&amp;lt;/eval&amp;gt;
             &amp;lt;/done&amp;gt;     
            &amp;lt;/search&amp;gt;
            &amp;lt;option name="height"&amp;gt;$tokPanelHeight2$&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&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/7784i5EC396D051D19688/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;Thx a lot!!!!!&lt;/P&gt;</description>
    <pubDate>Wed, 02 Oct 2019 17:11:08 GMT</pubDate>
    <dc:creator>ea7777777</dc:creator>
    <dc:date>2019-10-02T17:11:08Z</dc:date>
    <item>
      <title>Timechart automatic high resize</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-automatic-high-resize/m-p/497118#M138469</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;
I've got a timechart with different columns (depending on the search). If I don't get many columns, the high of the timechart is enough. If I get many columns results, the timechart high is not enough and all will be pressed together. &lt;/P&gt;

&lt;P&gt;So I tried to change the high automatically by the column results, but I don't know how to get the correct column results on the "XXXXXXX". $job.resultCount$ is not correct, because it gives me the row results. &lt;/P&gt;

&lt;P&gt;Someone an Idea?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;            &amp;lt;search&amp;gt;
              &amp;lt;query&amp;gt;Linie=$Token_Linie$  Antyp=$Token_Antyp$  
              | eval combined_field= Linie + " " + Antyp 
              | eventstats count as "totalCount" by An 
              | timechart  count(totalCount) BY combined_field
              &amp;lt;/query&amp;gt;
              &amp;lt;earliest&amp;gt;$Token_IO_NIO_Zeit.earliest$&amp;lt;/earliest&amp;gt;
              &amp;lt;latest&amp;gt;$Token_IO_NIO_Zeit.latest$&amp;lt;/latest&amp;gt;
              &amp;lt;done&amp;gt;
                   &amp;lt;eval token="tokPanelHeight2"&amp;gt;100*$XXXXXXX$&amp;lt;/eval&amp;gt;
             &amp;lt;/done&amp;gt;     
            &amp;lt;/search&amp;gt;
            &amp;lt;option name="height"&amp;gt;$tokPanelHeight2$&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&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/7784i5EC396D051D19688/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;Thx a lot!!!!!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 17:11:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-automatic-high-resize/m-p/497118#M138469</guid>
      <dc:creator>ea7777777</dc:creator>
      <dc:date>2019-10-02T17:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart automatic high resize</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-automatic-high-resize/m-p/497119#M138470</link>
      <description>&lt;P&gt;I would not do it this way.  I would instead use the &lt;CODE&gt;format&lt;/CODE&gt; tool to change the &lt;CODE&gt;Y-axis&lt;/CODE&gt; from &lt;CODE&gt;linear&lt;/CODE&gt; to &lt;CODE&gt;log&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 01:06:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-automatic-high-resize/m-p/497119#M138470</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-10-03T01:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart automatic high resize</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-automatic-high-resize/m-p/497120#M138471</link>
      <description>&lt;P&gt;No, that solves not my problem. &lt;/P&gt;

&lt;P&gt;My problem ist, if my result shows only one column the display is ok. But if I get more as result the chart get´s pressed together.  To rise only the high parameter is also not good, because than the timechart is for one column result to big and for ten column result to small. I need an autoresize of the timechart high....&lt;/P&gt;

&lt;P&gt;Good display of one result.&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/7782iD6E3C569D037DDBA/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;Bad display example of 4 results.&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/7783i27A6D07CF55ED084/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 11:21:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-automatic-high-resize/m-p/497120#M138471</guid>
      <dc:creator>ea7777777</dc:creator>
      <dc:date>2019-10-04T11:21:00Z</dc:date>
    </item>
  </channel>
</rss>

