<?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: Splunk search- How to capitalize the first letter of every filed column? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search-How-to-capitalize-the-first-letter-of-every-filed/m-p/613326#M213152</link>
    <description>&lt;P&gt;Please provide me any suggestion on the below post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per below example like First letter should be in Capital.&lt;/P&gt;&lt;P&gt;Current "vulnablities ", groups&lt;/P&gt;&lt;P&gt;expection : "Vulnablities" , "Groups"&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 04:15:00 GMT</pubDate>
    <dc:creator>uagraw01</dc:creator>
    <dc:date>2022-09-16T04:15:00Z</dc:date>
    <item>
      <title>Splunk search- How to capitalize the first letter of every filed column?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search-How-to-capitalize-the-first-letter-of-every-filed/m-p/613244#M213120</link>
      <description>&lt;P&gt;Hello Splunkers !!&lt;/P&gt;
&lt;P&gt;As per the below screenshot I want to capitalise the first letter of every filed column.So for the same I have tried above work around which are in commented. Please suggest me how can I Capitalise first letter of every field name.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_20220915_195909__01.jpg" style="width: 3855px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21483i00E461D6EE2C3686/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_20220915_195909__01.jpg" alt="IMG_20220915_195909__01.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 15:20:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-search-How-to-capitalize-the-first-letter-of-every-filed/m-p/613244#M213120</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2022-09-15T15:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search- How to capitalize the first letter of every filed column?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search-How-to-capitalize-the-first-letter-of-every-filed/m-p/613326#M213152</link>
      <description>&lt;P&gt;Please provide me any suggestion on the below post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per below example like First letter should be in Capital.&lt;/P&gt;&lt;P&gt;Current "vulnablities ", groups&lt;/P&gt;&lt;P&gt;expection : "Vulnablities" , "Groups"&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 04:15:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-search-How-to-capitalize-the-first-letter-of-every-filed/m-p/613326#M213152</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2022-09-16T04:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search- How to capitalize the first letter of every filed column?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search-How-to-capitalize-the-first-letter-of-every-filed/m-p/613327#M213153</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/70277"&gt;@uagraw01&lt;/a&gt;&amp;nbsp;- In your search, it seems the easiest option to do that is to just write field names the way you want in the stats command itself. Like,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats dc(falcon.vul.cve.id) as Vulnerabilities, dc(host.info.id) as Groups .....&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!!!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 04:36:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-search-How-to-capitalize-the-first-letter-of-every-filed/m-p/613327#M213153</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-09-16T04:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search- How to capitalize the first letter of every filed column?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search-How-to-capitalize-the-first-letter-of-every-filed/m-p/613330#M213154</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/93915"&gt;@VatsalJagani&lt;/a&gt;&amp;nbsp;Thank you vatsal for your response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just for my knowledge can you help me, how can I achieve this by using eval function?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 04:43:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-search-How-to-capitalize-the-first-letter-of-every-filed/m-p/613330#M213154</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2022-09-16T04:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search- How to capitalize the first letter of every filed column?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search-How-to-capitalize-the-first-letter-of-every-filed/m-p/613332#M213155</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/70277"&gt;@uagraw01&lt;/a&gt;&amp;nbsp;- Here is how you can do that without explicitly specifying the field name. It applies to all the present fields.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| foreach * [
| eval field_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; = "&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;"
| eval field_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; = upper(substr(field_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;,1,1)).substr(field_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;,2)
| eval {field_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;} = &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;
| fields - field_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;, &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is full example:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults | eval vulnerabilities=10, groups=2
| append [| makeresults | eval vulnerabilities=9, groups=4]
| foreach * [
| eval field_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; = "&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;"
| eval field_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; = upper(substr(field_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;,1,1)).substr(field_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;,2)
| eval {field_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;} = &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;
| fields - field_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;, &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;]&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VatsalJagani_0-1663304487485.png" style="width: 727px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21496iC371C44E687455D5/image-dimensions/727x100?v=v2" width="727" height="100" role="button" title="VatsalJagani_0-1663304487485.png" alt="VatsalJagani_0-1663304487485.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!!! Please upvote &amp;amp; accept the answer if it answers your question!!!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 05:02:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-search-How-to-capitalize-the-first-letter-of-every-filed/m-p/613332#M213155</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-09-16T05:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search- How to capitalize the first letter of every filed column?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search-How-to-capitalize-the-first-letter-of-every-filed/m-p/613349#M213162</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/93915"&gt;@VatsalJagani&lt;/a&gt;&amp;nbsp;Thanks for your response.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 06:08:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-search-How-to-capitalize-the-first-letter-of-every-filed/m-p/613349#M213162</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2022-09-16T06:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search- How to capitalize the first letter of every filed column?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search-How-to-capitalize-the-first-letter-of-every-filed/m-p/613351#M213164</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/70277"&gt;@uagraw01&lt;/a&gt;&amp;nbsp;- If it answers your question, please mark it as an accepted answer by clicking on "Accept as Solution".&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 06:22:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-search-How-to-capitalize-the-first-letter-of-every-filed/m-p/613351#M213164</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-09-16T06:22:32Z</dc:date>
    </item>
  </channel>
</rss>

