<?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 index a field where identical values have different values for ID? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-index-a-field-where-identical-values-have-different/m-p/335367#M99622</link>
    <description>&lt;P&gt;Try this... &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | sort 0 _time ID fieldA
 | streamstats current=f last(_time) as priortime by ID fieldA
 | eval duration=coalesce(_time - priortime,"No prior")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 14 Sep 2017 16:53:10 GMT</pubDate>
    <dc:creator>DalJeanis</dc:creator>
    <dc:date>2017-09-14T16:53:10Z</dc:date>
    <item>
      <title>How to index a field where identical values have different values for ID?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-index-a-field-where-identical-values-have-different/m-p/335366#M99621</link>
      <description>&lt;P&gt;How to index the same field "A" different values for the unique ID? A set of field "A" values is finite and for each ID can have multiple identical field values.&lt;/P&gt;

&lt;P&gt;After a few search strings I have a table. I try to explain by img:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3495i77C9B2A49C9378DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;My main difficulty that I can't calculate the time difference between any two points of the field "A", because there are the same field "A" values. I think that this way will help me.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 16:03:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-index-a-field-where-identical-values-have-different/m-p/335366#M99621</guid>
      <dc:creator>AlexeyPy</dc:creator>
      <dc:date>2017-09-14T16:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to index a field where identical values have different values for ID?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-index-a-field-where-identical-values-have-different/m-p/335367#M99622</link>
      <description>&lt;P&gt;Try this... &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | sort 0 _time ID fieldA
 | streamstats current=f last(_time) as priortime by ID fieldA
 | eval duration=coalesce(_time - priortime,"No prior")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Sep 2017 16:53:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-index-a-field-where-identical-values-have-different/m-p/335367#M99622</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-09-14T16:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to index a field where identical values have different values for ID?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-index-a-field-where-identical-values-have-different/m-p/335368#M99623</link>
      <description>&lt;P&gt;Hey @AlexeyPy, If DalJeanis solved your problem, please don't forget to accept an answer! You can upvote posts as well. (Karma points will be awarded for either action.) Happy Splunking!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 01:32:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-index-a-field-where-identical-values-have-different/m-p/335368#M99623</guid>
      <dc:creator>lfedak_splunk</dc:creator>
      <dc:date>2017-09-15T01:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to index a field where identical values have different values for ID?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-index-a-field-where-identical-values-have-different/m-p/335369#M99624</link>
      <description>&lt;P&gt;Unfortunately, that's not what I need. I need to be able to calculate the difference in time between those points, which I want. In this search only between the first and last in the group&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 08:22:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-index-a-field-where-identical-values-have-different/m-p/335369#M99624</guid>
      <dc:creator>AlexeyPy</dc:creator>
      <dc:date>2017-09-15T08:22:46Z</dc:date>
    </item>
  </channel>
</rss>

