<?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 Limit length of field (# of characters) in search results? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Limit-length-of-field-of-characters-in-search-results/m-p/134908#M36872</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Is there a way to limit the length of a field in a search result to X number of characters?  &lt;/P&gt;

&lt;P&gt;I.E. return only the first 15 characters of a field in a search result?&lt;/P&gt;

&lt;P&gt;The reason I ask is because I have a few dashboard panels with fields that are excessively long and they cause the other fields to be out of view (have to scroll to the right to view them).&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 08 Nov 2013 17:22:44 GMT</pubDate>
    <dc:creator>echojacques</dc:creator>
    <dc:date>2013-11-08T17:22:44Z</dc:date>
    <item>
      <title>Limit length of field (# of characters) in search results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Limit-length-of-field-of-characters-in-search-results/m-p/134908#M36872</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Is there a way to limit the length of a field in a search result to X number of characters?  &lt;/P&gt;

&lt;P&gt;I.E. return only the first 15 characters of a field in a search result?&lt;/P&gt;

&lt;P&gt;The reason I ask is because I have a few dashboard panels with fields that are excessively long and they cause the other fields to be out of view (have to scroll to the right to view them).&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2013 17:22:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Limit-length-of-field-of-characters-in-search-results/m-p/134908#M36872</guid>
      <dc:creator>echojacques</dc:creator>
      <dc:date>2013-11-08T17:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Limit length of field (# of characters) in search results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Limit-length-of-field-of-characters-in-search-results/m-p/134909#M36873</link>
      <description>&lt;P&gt;You can use eval-substr for the same. example&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your search....|eval yourfield=substr(yourfield,1,15)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will give first 15 character for yourfield's value.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2013 17:32:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Limit-length-of-field-of-characters-in-search-results/m-p/134909#M36873</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2013-11-08T17:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Limit length of field (# of characters) in search results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Limit-length-of-field-of-characters-in-search-results/m-p/134910#M36874</link>
      <description>&lt;P&gt;This works perfectly, thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2013 17:41:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Limit-length-of-field-of-characters-in-search-results/m-p/134910#M36874</guid>
      <dc:creator>echojacques</dc:creator>
      <dc:date>2013-11-08T17:41:32Z</dc:date>
    </item>
  </channel>
</rss>

