<?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: Case-insensitve sort in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Case-insensitve-sort/m-p/58260#M14238</link>
    <description>&lt;P&gt;This should really be possible out of the box without resorting to this ugly hack.&lt;/P&gt;</description>
    <pubDate>Sat, 14 Feb 2015 00:47:38 GMT</pubDate>
    <dc:creator>helge</dc:creator>
    <dc:date>2015-02-14T00:47:38Z</dc:date>
    <item>
      <title>Case-insensitve sort</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Case-insensitve-sort/m-p/58257#M14235</link>
      <description>&lt;P&gt;Is there a way that I can sort some data alphabetically where the values are case insensitive?  Currently, it sorts all lowercase values alphabetically first, then all of the capitalized values alphabetically after.  I want them intermingled so a term like "cat", "Cat", "dog"  or are intermingled based on another field rather than being sorted as "cat", "dog", "Cat"&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2012 18:09:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Case-insensitve-sort/m-p/58257#M14235</guid>
      <dc:creator>atornes</dc:creator>
      <dc:date>2012-09-12T18:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Case-insensitve sort</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Case-insensitve-sort/m-p/58258#M14236</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;... | eval pet=lower(pet) | sort - pet
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Sep 2012 18:28:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Case-insensitve-sort/m-p/58258#M14236</guid>
      <dc:creator>ayme</dc:creator>
      <dc:date>2012-09-12T18:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Case-insensitve sort</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Case-insensitve-sort/m-p/58259#M14237</link>
      <description>&lt;P&gt;A somewhat ugly but working way of doing this would be to write a new hidden field with just lowercase versions of the values and then sort by this field, but show the "original" field in the results:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval _sortfield=lower(yourmixedcasefield) | table yourmixedcasefield _sortfield | sort _sortfield
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Sep 2012 18:33:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Case-insensitve-sort/m-p/58259#M14237</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-09-12T18:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Case-insensitve sort</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Case-insensitve-sort/m-p/58260#M14238</link>
      <description>&lt;P&gt;This should really be possible out of the box without resorting to this ugly hack.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Feb 2015 00:47:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Case-insensitve-sort/m-p/58260#M14238</guid>
      <dc:creator>helge</dc:creator>
      <dc:date>2015-02-14T00:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Case-insensitve sort</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Case-insensitve-sort/m-p/58261#M14239</link>
      <description>&lt;P&gt;This works, but as you mentioned it is ugly. Especially since you need to make the search even longer by removing _sortfield or it will show up in the table:&lt;BR /&gt;
    | fields - _sortfield&lt;/P&gt;</description>
      <pubDate>Sat, 14 Feb 2015 01:11:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Case-insensitve-sort/m-p/58261#M14239</guid>
      <dc:creator>helge</dc:creator>
      <dc:date>2015-02-14T01:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Case-insensitve sort</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Case-insensitve-sort/m-p/604855#M210358</link>
      <description>&lt;P&gt;Ran into this yesterday and this is exactly what I needed. Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 20:34:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Case-insensitve-sort/m-p/604855#M210358</guid>
      <dc:creator>Micheal_S</dc:creator>
      <dc:date>2022-07-07T20:34:39Z</dc:date>
    </item>
  </channel>
</rss>

