<?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: can I show less characters in my result table in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/can-I-show-less-characters-in-my-result-table/m-p/33881#M178323</link>
    <description>&lt;P&gt;Adding to the above answer in case this can help someone, since it took me a while to figure this out.&lt;BR /&gt;
If the field to be truncated happens to be a multi value field, it must first be converted to a string with &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.3/SearchReference/MultivalueEvalFunctions#mvjoin.28MVFIELD.2CSTR.29"&gt;mvjoin&lt;/A&gt; before being truncated.&lt;/P&gt;

&lt;P&gt;Both commands can then be combined:&lt;BR /&gt;
    | fieldformat yourfield=substr(mvjoin(yourfield',", "),1,30)+"..."&lt;/P&gt;</description>
    <pubDate>Fri, 18 Jan 2019 12:57:54 GMT</pubDate>
    <dc:creator>abancel</dc:creator>
    <dc:date>2019-01-18T12:57:54Z</dc:date>
    <item>
      <title>can I show less characters in my result table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/can-I-show-less-characters-in-my-result-table/m-p/33879#M178321</link>
      <description>&lt;P&gt;I have a search using the splunk table commands, but the text in one fields is too long so that I can't see the whole result in one screen, is there a way to show only the first 30 characters in that fields, thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2013 02:21:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/can-I-show-less-characters-in-my-result-table/m-p/33879#M178321</guid>
      <dc:creator>fengl2</dc:creator>
      <dc:date>2013-05-15T02:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: can I show less characters in my result table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/can-I-show-less-characters-in-my-result-table/m-p/33880#M178322</link>
      <description>&lt;P&gt;You could truncate the field values using &lt;CODE&gt;fieldformat&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | fieldformat yourfield=substr(yourfield,1,30)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 May 2013 04:36:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/can-I-show-less-characters-in-my-result-table/m-p/33880#M178322</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-05-15T04:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: can I show less characters in my result table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/can-I-show-less-characters-in-my-result-table/m-p/33881#M178323</link>
      <description>&lt;P&gt;Adding to the above answer in case this can help someone, since it took me a while to figure this out.&lt;BR /&gt;
If the field to be truncated happens to be a multi value field, it must first be converted to a string with &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.3/SearchReference/MultivalueEvalFunctions#mvjoin.28MVFIELD.2CSTR.29"&gt;mvjoin&lt;/A&gt; before being truncated.&lt;/P&gt;

&lt;P&gt;Both commands can then be combined:&lt;BR /&gt;
    | fieldformat yourfield=substr(mvjoin(yourfield',", "),1,30)+"..."&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 12:57:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/can-I-show-less-characters-in-my-result-table/m-p/33881#M178323</guid>
      <dc:creator>abancel</dc:creator>
      <dc:date>2019-01-18T12:57:54Z</dc:date>
    </item>
  </channel>
</rss>

