<?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 Get daily event count with reference to a field called &amp;quot;TIME_CREATED&amp;quot; rather than using index time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Get-daily-event-count-with-reference-to-a-field-called-quot-TIME/m-p/474483#M133419</link>
    <description>&lt;P&gt;Tried to use the below query but unfortunately events are grouped with reference to &lt;STRONG&gt;_time&lt;/STRONG&gt; &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=omi_UAT host=* sourcetype=all_events_custom_attributes SEVERITY IN (CRITICAL,MAJOR,MINOR) OR (SEVERITY=WARNING AND APPLICATION=NNMi) 
| dedup ID
| timechart count(ID) BY SEVERITY
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 03 Jan 2020 13:17:46 GMT</pubDate>
    <dc:creator>anz999</dc:creator>
    <dc:date>2020-01-03T13:17:46Z</dc:date>
    <item>
      <title>Get daily event count with reference to a field called "TIME_CREATED" rather than using index time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Get-daily-event-count-with-reference-to-a-field-called-quot-TIME/m-p/474483#M133419</link>
      <description>&lt;P&gt;Tried to use the below query but unfortunately events are grouped with reference to &lt;STRONG&gt;_time&lt;/STRONG&gt; &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=omi_UAT host=* sourcetype=all_events_custom_attributes SEVERITY IN (CRITICAL,MAJOR,MINOR) OR (SEVERITY=WARNING AND APPLICATION=NNMi) 
| dedup ID
| timechart count(ID) BY SEVERITY
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Jan 2020 13:17:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Get-daily-event-count-with-reference-to-a-field-called-quot-TIME/m-p/474483#M133419</guid>
      <dc:creator>anz999</dc:creator>
      <dc:date>2020-01-03T13:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Get daily event count with reference to a field called "TIME_CREATED" rather than using index time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Get-daily-event-count-with-reference-to-a-field-called-quot-TIME/m-p/474484#M133420</link>
      <description>&lt;P&gt;Try this.  It assumes TIME_CREATED is in epoch form.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=omi_UAT host=* sourcetype=all_events_custom_attributes SEVERITY IN (CRITICAL,MAJOR,MINOR) OR (SEVERITY=WARNING AND APPLICATION=NNMi) 
| dedup ID
| eval _time = TIME_CREATED
| timechart count(ID) BY SEVERITY
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Jan 2020 13:42:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Get-daily-event-count-with-reference-to-a-field-called-quot-TIME/m-p/474484#M133420</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-01-03T13:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Get daily event count with reference to a field called "TIME_CREATED" rather than using index time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Get-daily-event-count-with-reference-to-a-field-called-quot-TIME/m-p/474485#M133421</link>
      <description>&lt;P&gt;Sorry it didn't worked, TIME_CREATED is in the format "2019-12-13 13:32:25.0"&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2020 14:11:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Get-daily-event-count-with-reference-to-a-field-called-quot-TIME/m-p/474485#M133421</guid>
      <dc:creator>anz999</dc:creator>
      <dc:date>2020-01-03T14:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Get daily event count with reference to a field called "TIME_CREATED" rather than using index time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Get-daily-event-count-with-reference-to-a-field-called-quot-TIME/m-p/474486#M133422</link>
      <description>&lt;P&gt;So convert it.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=omi_UAT host=* sourcetype=all_events_custom_attributes SEVERITY IN (CRITICAL,MAJOR,MINOR) OR (SEVERITY=WARNING AND APPLICATION=NNMi) 
| dedup ID
| eval _time = strptime(TIME_CREATED, "%Y-%m-%d %H:%M:%S.%N")
| timechart count(ID) BY SEVERITY
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Jan 2020 15:09:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Get-daily-event-count-with-reference-to-a-field-called-quot-TIME/m-p/474486#M133422</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-01-03T15:09:35Z</dc:date>
    </item>
  </channel>
</rss>

