<?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: Sort asc/desc multivalue field in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Sort-asc-desc-multivalue-field/m-p/532536#M89519</link>
    <description>&lt;P&gt;sprry for not providing more information before!&lt;/P&gt;&lt;P&gt;Actually I just added the time into the messages and extracted them using regex. after doing a sort&lt;/P&gt;&lt;P&gt;tks!&lt;/P&gt;</description>
    <pubDate>Wed, 09 Dec 2020 20:46:52 GMT</pubDate>
    <dc:creator>anonuser</dc:creator>
    <dc:date>2020-12-09T20:46:52Z</dc:date>
    <item>
      <title>Sort asc/desc multivalue field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sort-asc-desc-multivalue-field/m-p/531340#M89390</link>
      <description>&lt;P&gt;I have 2 multi value fields - script and instance. I joined them in another multi value field (steps) using mvappend&lt;/P&gt;&lt;P&gt;I would like to order the values from this new field called steps in asc order&lt;/P&gt;&lt;P&gt;I found mvsort, but it only works for alphabetic order, not chronological order&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 15:03:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sort-asc-desc-multivalue-field/m-p/531340#M89390</guid>
      <dc:creator>anonuser</dc:creator>
      <dc:date>2020-11-30T15:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sort asc/desc multivalue field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sort-asc-desc-multivalue-field/m-p/531345#M89391</link>
      <description>&lt;P&gt;Are they all dates/times? Do you need to convert them to epoch times (strptime) before creating the new mv field, and then sort them as numbers. You can convert them back to strings (strftime) after sorting.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 15:23:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sort-asc-desc-multivalue-field/m-p/531345#M89391</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-11-30T15:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sort asc/desc multivalue field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sort-asc-desc-multivalue-field/m-p/531346#M89392</link>
      <description>&lt;P&gt;no, script and instance are actually file names... the idea is sort them in a chronological order based on _time&lt;/P&gt;&lt;P&gt;just to give more context, I'm seeing a list of files executions which has a lot of steps, each execution has a number and for each execution I can have more than 1 script or instance. Since I'm using transaction to collect all the events associated to the same execution, the fields script and instance are now multivalue fields&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 15:28:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sort-asc-desc-multivalue-field/m-p/531346#M89392</guid>
      <dc:creator>anonuser</dc:creator>
      <dc:date>2020-11-30T15:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sort asc/desc multivalue field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sort-asc-desc-multivalue-field/m-p/531348#M89393</link>
      <description>&lt;P&gt;Can you sort before any grouping then use stats list(script) list(instance) by id instead of using transaction? Sorry to be so vague but a more detailed example from you might help us help you.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 15:38:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sort-asc-desc-multivalue-field/m-p/531348#M89393</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-11-30T15:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sort asc/desc multivalue field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sort-asc-desc-multivalue-field/m-p/532536#M89519</link>
      <description>&lt;P&gt;sprry for not providing more information before!&lt;/P&gt;&lt;P&gt;Actually I just added the time into the messages and extracted them using regex. after doing a sort&lt;/P&gt;&lt;P&gt;tks!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 20:46:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sort-asc-desc-multivalue-field/m-p/532536#M89519</guid>
      <dc:creator>anonuser</dc:creator>
      <dc:date>2020-12-09T20:46:52Z</dc:date>
    </item>
  </channel>
</rss>

