<?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: Html Panel form: How to create a table with two columns with the right column having dynamic value? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Html-Panel-form-How-to-create-a-table-with-two-columns-with-the/m-p/435441#M28724</link>
    <description>&lt;P&gt;@Deepz2612 you can use JS to convert search result data to html table as per your need. Refer to my older answer:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/662523/how-to-show-table-result-in-one-page-table-modific.html"&gt;https://answers.splunk.com/answers/662523/how-to-show-table-result-in-one-page-table-modific.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2019 21:11:25 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2019-04-30T21:11:25Z</dc:date>
    <item>
      <title>Html Panel form: How to create a table with two columns with the right column having dynamic value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Html-Panel-form-How-to-create-a-table-with-two-columns-with-the/m-p/435440#M28723</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;My requirement is to:&lt;BR /&gt;
Create a table with two columns with left column having static data and right having dynamic value&lt;BR /&gt;
The right dynamic value - meaning I wanted to see only the result of a Splunk query.&lt;/P&gt;

&lt;P&gt;I used the follow code but unable to achieve it.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;Sample Template&amp;lt;/title&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;table border="1" width="1000" padding="10px"&amp;gt;
          &amp;lt;th&amp;gt;
            &amp;lt;tr&amp;gt;
              &amp;lt;th width="200" align="left"&amp;gt;Impacted time window(in EST)&amp;lt;/th&amp;gt;
              &amp;lt;th width="800" align="left"&amp;gt;
                &amp;lt;panel&amp;gt;
                  strptime($search_earliest$, "%Y-%m-%d %H:%M:%S.%3N") to strptime($cmd_time.latest$, "%Y-%m-%d %H:%M:%S.%3N")

                &amp;lt;/panel&amp;gt;

                &amp;lt;/th&amp;gt;
            &amp;lt;/tr&amp;gt;
            &amp;lt;tr&amp;gt;
              &amp;lt;th width="200" align="left"&amp;gt;Success rate(Total and Regionwise) during Impact Window &amp;lt;/th&amp;gt;
              &amp;lt;th width="800" align="left"&amp;gt;
                &amp;lt;row&amp;gt;
                &amp;lt;panel&amp;gt;$country$&amp;lt;/panel&amp;gt;
                &amp;lt;/row&amp;gt;
                &amp;lt;/th&amp;gt;
            &amp;lt;/tr&amp;gt;
            &amp;lt;tr&amp;gt;
              &amp;lt;th width="200" align="left"&amp;gt;Impact to Customer&amp;lt;/th&amp;gt;
              &amp;lt;th width="800" align="left"&amp;gt;Row - 3 - 2nd column&amp;lt;/th&amp;gt;
            &amp;lt;/tr&amp;gt;
            &amp;lt;tr&amp;gt;
              &amp;lt;th width="200" align="left"&amp;gt;Error code(incase of IOT)&amp;lt;/th&amp;gt;
              &amp;lt;th width="800" align="left"&amp;gt;Row - 2 2nd column&amp;lt;/th&amp;gt;
            &amp;lt;/tr&amp;gt;
            &amp;lt;tr&amp;gt;
              &amp;lt;th width="200" align="left"&amp;gt;Analysis&amp;lt;/th&amp;gt;
              &amp;lt;th width="800" align="left"&amp;gt;Enter your analysis details&amp;lt;/th&amp;gt;
            &amp;lt;/tr&amp;gt;
            &amp;lt;tr&amp;gt;
              &amp;lt;th width="200" align="left"&amp;gt;Action taken&amp;lt;/th&amp;gt;
              &amp;lt;th width="800" align="left"&amp;gt;SMS delay has been added in Canada RTS ticket&amp;lt;/th&amp;gt;
            &amp;lt;/tr&amp;gt;
            &amp;lt;tr&amp;gt;
              &amp;lt;th width="200" align="left"&amp;gt;Next Steps&amp;lt;/th&amp;gt;
              &amp;lt;th width="800" align="left"&amp;gt;will continue to monitor for next 1 hour&amp;lt;/th&amp;gt;
            &amp;lt;/tr&amp;gt;
            &amp;lt;tr&amp;gt;
              &amp;lt;th width="200" align="left"&amp;gt;Advisory&amp;lt;/th&amp;gt;
              &amp;lt;th width="800" align="left"&amp;gt; N/A &amp;lt;/th&amp;gt;
            &amp;lt;/tr&amp;gt;
            &amp;lt;tr&amp;gt;
              &amp;lt;th width="200" align="left"&amp;gt;L1POE bridge opened(Yes/No)&amp;lt;/th&amp;gt;
              &amp;lt;th width="800" align="left"&amp;gt;Row - 3 - 2nd column&amp;lt;/th&amp;gt;
            &amp;lt;/tr&amp;gt;
            &amp;lt;tr&amp;gt;
              &amp;lt;th width="200" align="left"&amp;gt;L1POE bridge detail&amp;lt;/th&amp;gt;
              &amp;lt;th width="800" align="left"&amp;gt;Row - 2 2nd column&amp;lt;/th&amp;gt;
            &amp;lt;/tr&amp;gt;

          &amp;lt;/th&amp;gt;
        &amp;lt;/table&amp;gt;
      &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;div align="right"&amp;gt;
          &amp;lt;b&amp;gt;Dashboard Version 3.7&amp;lt;/b&amp;gt;
        &amp;lt;/div&amp;gt;
      &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In the above - if you could see,my out is not displaying the time for Impacted time window(in EST) instead it is displaying the entire string I have given ( strptime($search_earliest$, "%Y-%m-%d %H:%M:%S.%3N") to strptime($cmd_time.latest$, "%Y-%m-%d %H:%M:%S.%3N")).&lt;/P&gt;

&lt;P&gt;Kindly help me with it.&lt;/P&gt;

&lt;P&gt;Note : I do not have permissions and access to use Splunk dashboard app.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:18:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Html-Panel-form-How-to-create-a-table-with-two-columns-with-the/m-p/435440#M28723</guid>
      <dc:creator>Deepz2612</dc:creator>
      <dc:date>2020-09-30T00:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Html Panel form: How to create a table with two columns with the right column having dynamic value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Html-Panel-form-How-to-create-a-table-with-two-columns-with-the/m-p/435441#M28724</link>
      <description>&lt;P&gt;@Deepz2612 you can use JS to convert search result data to html table as per your need. Refer to my older answer:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/662523/how-to-show-table-result-in-one-page-table-modific.html"&gt;https://answers.splunk.com/answers/662523/how-to-show-table-result-in-one-page-table-modific.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 21:11:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Html-Panel-form-How-to-create-a-table-with-two-columns-with-the/m-p/435441#M28724</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-04-30T21:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Html Panel form: How to create a table with two columns with the right column having dynamic value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Html-Panel-form-How-to-create-a-table-with-two-columns-with-the/m-p/435442#M28725</link>
      <description>&lt;P&gt;Thanks..&lt;BR /&gt;
But my requirement is to put in a tabular format.&lt;/P&gt;

&lt;P&gt;In the above code that i have share,whatever search query that i give is getting printed as as table value rather than printing the result of the query.&lt;/P&gt;

&lt;P&gt;Could you kindly help&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 11:01:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Html-Panel-form-How-to-create-a-table-with-two-columns-with-the/m-p/435442#M28725</guid>
      <dc:creator>Deepz2612</dc:creator>
      <dc:date>2019-05-02T11:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Html Panel form: How to create a table with two columns with the right column having dynamic value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Html-Panel-form-How-to-create-a-table-with-two-columns-with-the/m-p/435443#M28726</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Could you kindly help please&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 11:58:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Html-Panel-form-How-to-create-a-table-with-two-columns-with-the/m-p/435443#M28726</guid>
      <dc:creator>Deepz2612</dc:creator>
      <dc:date>2019-05-03T11:58:32Z</dc:date>
    </item>
  </channel>
</rss>

