<?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 extract common values from a multi-value field for different event times. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-common-values-from-a-multi-value-field-for/m-p/599931#M208829</link>
    <description>&lt;LI-CODE lang="markup"&gt;| stats count by field_test
| where count &amp;gt; 1&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 31 May 2022 15:08:35 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2022-05-31T15:08:35Z</dc:date>
    <item>
      <title>How to extract common values from a multi-value field for different event times.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-common-values-from-a-multi-value-field-for/m-p/599925#M208827</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a multi-value field as shown below-&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="59.29032258064516%" height="25px"&gt;_time&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/TD&gt;&lt;TD width="40.70967741935484%" height="25px"&gt;field_test&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="59.29032258064516%" height="25px"&gt;&lt;SPAN&gt;2022-05-13 04:36:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="40.70967741935484%" height="25px"&gt;&lt;SPAN&gt;test_data_1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="59.29032258064516%" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="40.70967741935484%" height="25px"&gt;&lt;SPAN&gt;test_data_2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="59.29032258064516%" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="40.70967741935484%" height="25px"&gt;&lt;SPAN&gt;test_data_3&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="59.29032258064516%" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="40.70967741935484%" height="25px"&gt;&lt;SPAN&gt;test_data_4&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="59.29032258064516%" height="25px"&gt;&lt;SPAN&gt;2022-05-13 03:30:00&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="40.70967741935484%" height="25px"&gt;&lt;SPAN&gt;test_data_9&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="59.29032258064516%" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="40.70967741935484%" height="25px"&gt;&lt;SPAN&gt;test_data_10&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="59.29032258064516%" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="40.70967741935484%" height="25px"&gt;&lt;SPAN&gt;test_data_3&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN&gt;test_data_4&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For the above two events, I am trying to write a query which can provide me the common values such that result is-&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;test_data_3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;test_data_4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please help me on how can I accomplish it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 14:37:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-common-values-from-a-multi-value-field-for/m-p/599925#M208827</guid>
      <dc:creator>ashishdhinwa</dc:creator>
      <dc:date>2022-05-31T14:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract common values from a multi-value field for different event times.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-common-values-from-a-multi-value-field-for/m-p/599931#M208829</link>
      <description>&lt;LI-CODE lang="markup"&gt;| stats count by field_test
| where count &amp;gt; 1&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 31 May 2022 15:08:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-common-values-from-a-multi-value-field-for/m-p/599931#M208829</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-31T15:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract common values from a multi-value field for different event times.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-common-values-from-a-multi-value-field-for/m-p/599960#M208842</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/246341"&gt;@ashishdhinwa&lt;/a&gt;&amp;nbsp;- You can try something like&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;your query&amp;gt;
| eventstats dc(_time) as total_count
| mvexpand field_test
| stats count, last(total_count) as total_count by field_test
| where field_test&amp;gt;=total_count
| fields field_test&lt;/LI-CODE&gt;&lt;P&gt;This should provide values that are common for all the _time field values (present in all events).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!!!&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 17:15:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-common-values-from-a-multi-value-field-for/m-p/599960#M208842</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-05-31T17:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract common values from a multi-value field for different event times.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-common-values-from-a-multi-value-field-for/m-p/600864#M209153</link>
      <description>&lt;P&gt;Thanks! This works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 13:11:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-common-values-from-a-multi-value-field-for/m-p/600864#M209153</guid>
      <dc:creator>ashishdhinwa</dc:creator>
      <dc:date>2022-06-07T13:11:15Z</dc:date>
    </item>
  </channel>
</rss>

