<?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: help with search repeated events with diffrent values in specific field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/help-with-search-repeated-events-with-diffrent-values-in/m-p/534380#M151002</link>
    <description>&lt;P&gt;Your events should already be mapping time_start to _time so filtering them should be a matter of selecting the desired time range from the time picker.&lt;/P&gt;&lt;P&gt;If you don't map time_start to _time then you'll have to filter in your query.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=something (name="foo" OR name="bar")
| eval startTime=strptime(time_start, "%Y-%m-%dT%H:%M:%S%:z")
| where startTime ```fill in conditions```
| stats values(code) as codes by name&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 29 Dec 2020 17:00:56 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-12-29T17:00:56Z</dc:date>
    <item>
      <title>help with search repeated events with diffrent values in specific field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-with-search-repeated-events-with-diffrent-values-in/m-p/534145#M150956</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Help will be very appreciated.&lt;/P&gt;&lt;P&gt;My splunk index contains a field with codes, and another field with names.&lt;/P&gt;&lt;P&gt;Every event contains a code and a name.&lt;/P&gt;&lt;P&gt;1. I need to display all the codes that repeat more then once and have different names -&amp;nbsp; result for example can be code 444 that apear with two names dave and miriam.&lt;/P&gt;&lt;P&gt;2.Farther more, I need to display codes that have events with two specific names.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Jacob&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Dec 2020 13:15:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-with-search-repeated-events-with-diffrent-values-in/m-p/534145#M150956</guid>
      <dc:creator>jacob_rod</dc:creator>
      <dc:date>2020-12-27T13:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: help with search repeated events with diffrent values in specific field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-with-search-repeated-events-with-diffrent-values-in/m-p/534151#M150961</link>
      <description>&lt;P&gt;1. This should show all the codes that have more than one name associated with them.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;... | stats values(name) as names by code
| where mvcount(names) &amp;gt; 1&lt;/LI-CODE&gt;&lt;P&gt;2. Here is one way to find the codes with two specific names&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=something (name="foo" OR name="bar")
| stats values(code) as codes by name&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 27 Dec 2020 15:44:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-with-search-repeated-events-with-diffrent-values-in/m-p/534151#M150961</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-12-27T15:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: help with search repeated events with diffrent values in specific field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-with-search-repeated-events-with-diffrent-values-in/m-p/534308#M150984</link>
      <description>&lt;P&gt;Thank you very much, using the two solutions together solved my issue.&lt;/P&gt;&lt;P&gt;How can I add Time filter to the evens ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 07:04:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-with-search-repeated-events-with-diffrent-values-in/m-p/534308#M150984</guid>
      <dc:creator>jacob_rod</dc:creator>
      <dc:date>2020-12-29T07:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: help with search repeated events with diffrent values in specific field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-with-search-repeated-events-with-diffrent-values-in/m-p/534352#M150995</link>
      <description>&lt;P&gt;What exactly do you mean by "time filter"?&amp;nbsp; What results do you want?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 13:17:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-with-search-repeated-events-with-diffrent-values-in/m-p/534352#M150995</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-12-29T13:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: help with search repeated events with diffrent values in specific field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-with-search-repeated-events-with-diffrent-values-in/m-p/534372#M151000</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My time field name is "time_start" - structure is -&amp;nbsp; 2020-12-22T10:40:04.327+04:00&lt;/P&gt;&lt;P&gt;I need to display events from specific time boundaries (starting specific time until end time)&lt;/P&gt;&lt;P&gt;this is together with the code &amp;amp; name filters above.&lt;/P&gt;&lt;P&gt;Thank you again for the help.&lt;/P&gt;&lt;P&gt;Jake&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 15:40:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-with-search-repeated-events-with-diffrent-values-in/m-p/534372#M151000</guid>
      <dc:creator>jacob_rod</dc:creator>
      <dc:date>2020-12-29T15:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: help with search repeated events with diffrent values in specific field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-with-search-repeated-events-with-diffrent-values-in/m-p/534380#M151002</link>
      <description>&lt;P&gt;Your events should already be mapping time_start to _time so filtering them should be a matter of selecting the desired time range from the time picker.&lt;/P&gt;&lt;P&gt;If you don't map time_start to _time then you'll have to filter in your query.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=something (name="foo" OR name="bar")
| eval startTime=strptime(time_start, "%Y-%m-%dT%H:%M:%S%:z")
| where startTime ```fill in conditions```
| stats values(code) as codes by name&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 29 Dec 2020 17:00:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-with-search-repeated-events-with-diffrent-values-in/m-p/534380#M151002</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-12-29T17:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: help with search repeated events with diffrent values in specific field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-with-search-repeated-events-with-diffrent-values-in/m-p/540193#M152796</link>
      <description>&lt;P&gt;This is my final search -&lt;/P&gt;&lt;P&gt;index=something (name="foo" OR name="bar")&lt;BR /&gt;| eval timeValue = strptime(Date, "%Y-%m-%d %H:%M")&lt;BR /&gt;| eval earliest = strptime("2021-02-17 08:00", "%Y-%m-%d %H:%M")&lt;BR /&gt;| where (timeValue &amp;gt; earliest)&lt;BR /&gt;| stats values(name) as names by code&lt;BR /&gt;| where mvcount(names) &amp;gt; 1&lt;BR /&gt;| table code names&lt;/P&gt;&lt;P&gt;Trying to add field from the events to the table came out empty...&lt;/P&gt;&lt;P&gt;Question is how can I add a field from the events to the table ?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 07:41:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-with-search-repeated-events-with-diffrent-values-in/m-p/540193#M152796</guid>
      <dc:creator>jacob_rod</dc:creator>
      <dc:date>2021-02-17T07:41:08Z</dc:date>
    </item>
  </channel>
</rss>

