<?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: Dedup all redundant data in a column...having an issue in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260163#M189634</link>
    <description>&lt;P&gt;I have edit your title as per the comment above&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jul 2016 12:47:44 GMT</pubDate>
    <dc:creator>javiergn</dc:creator>
    <dc:date>2016-07-14T12:47:44Z</dc:date>
    <item>
      <title>Dedup all redundant data in a column...having an issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260160#M189631</link>
      <description>&lt;P&gt;I am new and learning Splunk. &lt;/P&gt;

&lt;P&gt;I created a search where multiple time stamps are revealed in a column. I'd just like that time stamp to show up once in my search results.&lt;/P&gt;

&lt;P&gt;I tried using Dedup, but it takes all of the date time stamps away.&lt;/P&gt;

&lt;P&gt;The search listed below works the way I want it to with that exception.&lt;/P&gt;

&lt;P&gt;index=xyz sourcetype="xyz:xyz:xyz" | table_time | eval Date =strftime(_time, "%Y%m%d") | table Date | rename Date as "Date that something happened" | dedup Date&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:14:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260160#M189631</guid>
      <dc:creator>infra2sec</dc:creator>
      <dc:date>2020-09-29T10:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dedup all redundant data in a column...having an issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260161#M189632</link>
      <description>&lt;P&gt;Title should have read "........Dedup all redundant data in a column...having an issue"&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 12:42:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260161#M189632</guid>
      <dc:creator>infra2sec</dc:creator>
      <dc:date>2016-07-14T12:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dedup all redundant data in a column...having an issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260162#M189633</link>
      <description>&lt;P&gt;Title should have read "........Dedup all redundant data in a column...having an issue"&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 12:42:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260162#M189633</guid>
      <dc:creator>infra2sec</dc:creator>
      <dc:date>2016-07-14T12:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dedup all redundant data in a column...having an issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260163#M189634</link>
      <description>&lt;P&gt;I have edit your title as per the comment above&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 12:47:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260163#M189634</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2016-07-14T12:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dedup all redundant data in a column...having an issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260164#M189635</link>
      <description>&lt;P&gt;you could do something like this&lt;BR /&gt;
index=xyz sourcetype="xyz:xyz:xyz" | eval Date =strftime(_time, "%Y%m%d") | dedup Date | table Date | rename Date as "Date that something happened"&lt;BR /&gt;
OR&lt;BR /&gt;
index=xyz sourcetype="xyz:xyz:xyz" | eval Date =strftime(_time, "%Y%m%d") | stats count by Date | rename Date as "Date that something happened"&lt;BR /&gt;
repeting table two times is more slow and not mandatory.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:12:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260164#M189635</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-29T10:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dedup all redundant data in a column...having an issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260165#M189636</link>
      <description>&lt;P&gt;Thank you very much. Is there a way to do that myself? I searched and didn't find a way. &lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 12:49:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260165#M189636</guid>
      <dc:creator>infra2sec</dc:creator>
      <dc:date>2016-07-14T12:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dedup all redundant data in a column...having an issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260166#M189637</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=xyz sourcetype="xyz:xyz:xyz" | timechart span=1d count | eval "Date that something happened"=strftime(_time, "%Y%m%d") | table "Date that something happened"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Jul 2016 13:00:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260166#M189637</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-07-14T13:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dedup all redundant data in a column...having an issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260167#M189638</link>
      <description>&lt;P&gt;Hey, to list out unique values, you should look into stats command as well&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Base search to filter out the correct events | table_time | eval Date =strftime(_time, "%Y%m%d") | stats list(Date)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here's an example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* Value&amp;gt;60 | eval Date = strftime(_time, "%Y%m%d") | stats values(Date) as Date | mvexpand Date
&lt;/CODE&gt;&lt;/PRE&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/1584i65B58980C81DFEEB/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 15:56:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260167#M189638</guid>
      <dc:creator>Stevelim</dc:creator>
      <dc:date>2016-07-14T15:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dedup all redundant data in a column...having an issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260168#M189639</link>
      <description>&lt;P&gt;Get more Karma:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunkbase/splunkbase/Answers/WhatisKarma"&gt;http://docs.splunk.com/Documentation/Splunkbase/splunkbase/Answers/WhatisKarma&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunkbase/splunkbase/Answers/HowtoearnKarma"&gt;http://docs.splunk.com/Documentation/Splunkbase/splunkbase/Answers/HowtoearnKarma&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 21:46:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260168#M189639</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-07-15T21:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dedup all redundant data in a column...having an issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260169#M189640</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=xyz sourcetype="xyz:xyz:xyz" | bucket span=1d _time | dedup _time | rename _time AS "Date that something happened"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Jul 2016 21:53:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260169#M189640</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-07-15T21:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dedup all redundant data in a column...having an issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260170#M189641</link>
      <description>&lt;P&gt;You all are awesome. Starting to get the results that I need. Wanted to report back, but I could only post 2 times per day. &lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 17:37:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dedup-all-redundant-data-in-a-column-having-an-issue/m-p/260170#M189641</guid>
      <dc:creator>infra2sec</dc:creator>
      <dc:date>2016-07-18T17:37:44Z</dc:date>
    </item>
  </channel>
</rss>

