<?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: Strange behavior of values function in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Strange-behavior-of-values-function/m-p/650513#M224893</link>
    <description>&lt;P&gt;(: is the start of a construct in regex so perhaps this is the source of the issue. Try changing the replace to use (\:&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jul 2023 09:17:07 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2023-07-14T09:17:07Z</dc:date>
    <item>
      <title>Strange behavior of values function</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Strange-behavior-of-values-function/m-p/650501#M224888</link>
      <description>&lt;P&gt;Is there anyone who can explain me strange behaivor of "values" function. I created statistic by "stats" with "values" function and it returned mvfield as I expected, but there was in one line where values in mvfield were separated by comma not by newline. I attached a screenshot of this.&lt;/P&gt;&lt;P&gt;I tested on Splunk 8.2.7 and 9.0.0.&lt;/P&gt;&lt;P&gt;If I replace colon in field "source" by something else, the behavior change.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Search_ Splunk_8.2.7.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26261iF40B78CADDAA7018/image-size/large?v=v2&amp;amp;px=999" role="button" title="Search_ Splunk_8.2.7.png" alt="Search_ Splunk_8.2.7.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 07:32:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Strange-behavior-of-values-function/m-p/650501#M224888</guid>
      <dc:creator>emzed</dc:creator>
      <dc:date>2023-07-14T07:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behavior of values function</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Strange-behavior-of-values-function/m-p/650513#M224893</link>
      <description>&lt;P&gt;(: is the start of a construct in regex so perhaps this is the source of the issue. Try changing the replace to use (\:&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 09:17:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Strange-behavior-of-values-function/m-p/650513#M224893</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-07-14T09:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behavior of values function</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Strange-behavior-of-values-function/m-p/650564#M224914</link>
      <description>&lt;P&gt;Yes, there is some problem with displaying mvfields and it manifests itself from time to time in this weird way in the ui.&lt;/P&gt;&lt;P&gt;Try adding something like&lt;/P&gt;&lt;PRE&gt;| eval c=mvcount(data) | eval first=mvindex(data,1)&lt;/PRE&gt;&lt;P&gt;It should still work properly, returning a count of 3 and your first value from that field.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 13:43:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Strange-behavior-of-values-function/m-p/650564#M224914</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-07-14T13:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behavior of values function</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Strange-behavior-of-values-function/m-p/650755#M225003</link>
      <description>&lt;P&gt;Thank you for your reply. I think it is not for first time when I have seen it. There must be some small bug. I know that field is still mvfield and it behaves like that.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 07:38:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Strange-behavior-of-values-function/m-p/650755#M225003</guid>
      <dc:creator>emzed</dc:creator>
      <dc:date>2023-07-17T07:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behavior of values function</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Strange-behavior-of-values-function/m-p/650776#M225005</link>
      <description>&lt;P&gt;I tried the change and It does not help. You can se on first screenshot.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Search_ Splunk_8.2.7_1.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26288i2B3B9CD47A7A150F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Search_ Splunk_8.2.7_1.png" alt="Search_ Splunk_8.2.7_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You were right that the trigger could be the colon. If I remove the ":" from field and calculate the stat then all mvfield displayed the same way.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Search_ Splunk_8.2.7_2.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26290i6A9BFE3DF11EF586/image-size/large?v=v2&amp;amp;px=999" role="button" title="Search_ Splunk_8.2.7_2.png" alt="Search_ Splunk_8.2.7_2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;It doesn't completely solve my problem.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 09:12:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Strange-behavior-of-values-function/m-p/650776#M225005</guid>
      <dc:creator>emzed</dc:creator>
      <dc:date>2023-07-17T09:12:01Z</dc:date>
    </item>
  </channel>
</rss>

