<?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 to format output of a query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-format-output-of-a-query/m-p/467153#M131475</link>
    <description>&lt;P&gt;&lt;CODE&gt;date_month&lt;/CODE&gt; field should not show comma separeted values it will either show march or april but not both as comma separeted . can you share any screen shot what you are getting in  &lt;CODE&gt;date_month&lt;/CODE&gt; field.&lt;/P&gt;</description>
    <pubDate>Fri, 29 May 2020 10:41:52 GMT</pubDate>
    <dc:creator>493669</dc:creator>
    <dc:date>2020-05-29T10:41:52Z</dc:date>
    <item>
      <title>How to format output of a query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-format-output-of-a-query/m-p/467150#M131472</link>
      <description>&lt;P&gt;I have a query with time range &lt;STRONG&gt;earliest&lt;/STRONG&gt;=-2mon@mon &lt;STRONG&gt;latest&lt;/STRONG&gt;=-1mon@mon . Now can i store the result as the month name which comes between earliest and latest ? E.g., for above example its should be March&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 19:37:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-format-output-of-a-query/m-p/467150#M131472</guid>
      <dc:creator>sudeep5689</dc:creator>
      <dc:date>2020-06-08T19:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to format output of a query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-format-output-of-a-query/m-p/467151#M131473</link>
      <description>&lt;P&gt;@sudeep5689 since &lt;CODE&gt;date_month&lt;/CODE&gt; field is coming in your data it should have your expected month value&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 10:27:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-format-output-of-a-query/m-p/467151#M131473</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2020-05-29T10:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to format output of a query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-format-output-of-a-query/m-p/467152#M131474</link>
      <description>&lt;P&gt;Yes thats worked but its showing the month name as march, april. Can we format it to show as April and March. Please add your solution as the answer&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 10:36:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-format-output-of-a-query/m-p/467152#M131474</guid>
      <dc:creator>sudeep5689</dc:creator>
      <dc:date>2020-05-29T10:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to format output of a query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-format-output-of-a-query/m-p/467153#M131475</link>
      <description>&lt;P&gt;&lt;CODE&gt;date_month&lt;/CODE&gt; field should not show comma separeted values it will either show march or april but not both as comma separeted . can you share any screen shot what you are getting in  &lt;CODE&gt;date_month&lt;/CODE&gt; field.&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 10:41:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-format-output-of-a-query/m-p/467153#M131475</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2020-05-29T10:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to format output of a query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-format-output-of-a-query/m-p/467154#M131476</link>
      <description>&lt;P&gt;Its coming fine . Just its like there are two rows coming as april and march. I want to show them like April March, first letter in caps&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 10:47:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-format-output-of-a-query/m-p/467154#M131476</guid>
      <dc:creator>sudeep5689</dc:creator>
      <dc:date>2020-05-29T10:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to format output of a query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-format-output-of-a-query/m-p/467155#M131477</link>
      <description>&lt;P&gt;Try below to capital first letter of month&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval date_month = upper(substr(date_month,1,1)).substr(date_month,2)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 May 2020 11:00:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-format-output-of-a-query/m-p/467155#M131477</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2020-05-29T11:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to format output of a query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-format-output-of-a-query/m-p/467156#M131478</link>
      <description>&lt;P&gt;Ok 1 more issue that o/p shows April first and then March, is there a way to show March first and then April. This o/p is coming from two queries appended together. My objective is to show a month wise comparison starting from March to April etc. and so on&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 11:09:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-format-output-of-a-query/m-p/467156#M131478</guid>
      <dc:creator>sudeep5689</dc:creator>
      <dc:date>2020-05-29T11:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to format output of a query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-format-output-of-a-query/m-p/467157#M131479</link>
      <description>&lt;P&gt;you may try-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|sort 0 - date_month
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|sort 0 - _time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 30 May 2020 09:48:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-format-output-of-a-query/m-p/467157#M131479</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2020-05-30T09:48:12Z</dc:date>
    </item>
  </channel>
</rss>

