<?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 can you change the width of a column in a table(HTML) or add a new line break to a field? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-you-change-the-width-of-a-column-in-a-table-HTML-or-add/m-p/299332#M90222</link>
    <description>&lt;P&gt;Isn't this XML? my whole dashboard is now in HTML and I do all the modifications in HTML. Is there a way to use Javascript to change the column sizes?&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jan 2018 13:21:00 GMT</pubDate>
    <dc:creator>kdimaria</dc:creator>
    <dc:date>2018-01-10T13:21:00Z</dc:date>
    <item>
      <title>How can you change the width of a column in a table(HTML) or add a new line break to a field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-you-change-the-width-of-a-column-in-a-table-HTML-or-add/m-p/299330#M90220</link>
      <description>&lt;P&gt;Hello! So I am running into a problem where my table visualization looks weird because one of my columns is too long. The column that is too long is grabbing from a csv lookup file and I was trying to add a new line break in the csv file and doing the lookup in Splunk but it doesn't take in the new line break. So, I was wondering if there is a way to set that columns size on the table so the field will auto line break or if theres a way to change the field to have the line break or how to do it with the csv lookup file. thanks&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 16:01:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-you-change-the-width-of-a-column-in-a-table-HTML-or-add/m-p/299330#M90220</guid>
      <dc:creator>kdimaria</dc:creator>
      <dc:date>2018-01-09T16:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: How can you change the width of a column in a table(HTML) or add a new line break to a field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-you-change-the-width-of-a-column-in-a-table-HTML-or-add/m-p/299331#M90221</link>
      <description>&lt;P&gt;Hi kdimaria,&lt;BR /&gt;
I know that you don't want css or javascripts but the easiest way is css and in the Splunk 7.x Dashboard Examples you can find an useful example to do this.&lt;BR /&gt;
In this app you can find also a way to change panels width using a javascript.&lt;/P&gt;

&lt;P&gt;It's also possible to insert in a dashboard some html tags to modify a panel, but anyway you use a css element in a Splunk dashboard: e.g. I have four Single Values in a panel and I want to be sure that they are two for each row, to do this you can insert between panel tags&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;html&amp;gt;
     &amp;lt;style type="text/css"&amp;gt;
        .single {
   width: 50% !important;
          }
  &amp;lt;/style&amp;gt;
 &amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Anyway you're using css elements.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 12:44:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-you-change-the-width-of-a-column-in-a-table-HTML-or-add/m-p/299331#M90221</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-01-10T12:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: How can you change the width of a column in a table(HTML) or add a new line break to a field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-you-change-the-width-of-a-column-in-a-table-HTML-or-add/m-p/299332#M90222</link>
      <description>&lt;P&gt;Isn't this XML? my whole dashboard is now in HTML and I do all the modifications in HTML. Is there a way to use Javascript to change the column sizes?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 13:21:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-you-change-the-width-of-a-column-in-a-table-HTML-or-add/m-p/299332#M90222</guid>
      <dc:creator>kdimaria</dc:creator>
      <dc:date>2018-01-10T13:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can you change the width of a column in a table(HTML) or add a new line break to a field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-you-change-the-width-of-a-column-in-a-table-HTML-or-add/m-p/299333#M90223</link>
      <description>&lt;P&gt;Hi kdimaria,&lt;BR /&gt;
Usually Splunk dashboards are in XML, but in the above way it's possible to insert in XML a css element without modifying css.&lt;/P&gt;

&lt;P&gt;Using Javascripts, it's possible to modify panels width not column width, to modify column width the only way is css.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 13:25:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-you-change-the-width-of-a-column-in-a-table-HTML-or-add/m-p/299333#M90223</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-01-10T13:25:37Z</dc:date>
    </item>
  </channel>
</rss>

