<?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 edit my timechart search to find how many fields were processed in a given time span? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-timechart-search-to-find-how-many-fields-were/m-p/200438#M58108</link>
    <description>&lt;P&gt;The timechart command requires field _time to be present in the resultset. Which field can be used to calculate _time?&lt;/P&gt;</description>
    <pubDate>Thu, 15 Dec 2016 20:49:05 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-12-15T20:49:05Z</dc:date>
    <item>
      <title>How to edit my timechart search to find how many fields were processed in a given time span?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-timechart-search-to-find-how-many-fields-were/m-p/200437#M58107</link>
      <description>&lt;P&gt;i have table like this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;id            info            starttime    endtime      responsetime    source
2             inbound         time1        time2        1sec            raja
              outbound
3             inbound         time3        time4        3 sec           raja1
              outbound
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;i need to find out the timechart; like in 1 hr, how many id's were processed in 24 hrs&lt;BR /&gt;
i am trying to do &lt;CODE&gt;timechart span=1h count(id) by source&lt;/CODE&gt;&lt;BR /&gt;
but I am getting error, could someone please help me?&lt;BR /&gt;
thanks. &lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 20:39:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-timechart-search-to-find-how-many-fields-were/m-p/200437#M58107</guid>
      <dc:creator>prashanthberam</dc:creator>
      <dc:date>2016-12-15T20:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my timechart search to find how many fields were processed in a given time span?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-timechart-search-to-find-how-many-fields-were/m-p/200438#M58108</link>
      <description>&lt;P&gt;The timechart command requires field _time to be present in the resultset. Which field can be used to calculate _time?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 20:49:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-timechart-search-to-find-how-many-fields-were/m-p/200438#M58108</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-12-15T20:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my timechart search to find how many fields were processed in a given time span?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-timechart-search-to-find-how-many-fields-were/m-p/200439#M58109</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index=**** source="****" "getProcedureDetailBlueChip" OR "getProcedureDetailBlueChipResponse" AND 
"Outbound Message" OR "Inbound Message" OR "getProcedureDetailBlueChip response time returning procedure details" OR "memZipCode assigned to zipCode" OR 
"provZipCode assigned to zipCode" OR "Begin getProcedureDetailBluChip"|rex "(?Inbound|Outbound)" | rex "ID:(?.*)" 
|rex "(?m)\(?.*)"|rex "(?m)\(?.*)"
|stats max(_time) as startTime,min(_time) as endTime,values(info) as Info,values(ResponseTime) as responseTime,values(StatusCode) as StatusCode,values(message) as StatusMessage by id,source
|eval responseTime=startTime-endTime |eval StartTime=strftime(startTime,"%Y-%m-%d %H:%M:%S,%3N")|eval EndTime=strftime(endTime,"%Y-%m-%d %H:%M:%S,%3N")
|table id,Info,StartTime,EndTime,responseTime,StatusCode,StatusMessage,source
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;my query like this i am trying to put the _time field in it , could you please suggest me..thanks...&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 21:06:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-timechart-search-to-find-how-many-fields-were/m-p/200439#M58109</guid>
      <dc:creator>prashanthberam</dc:creator>
      <dc:date>2016-12-15T21:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my timechart search to find how many fields were processed in a given time span?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-timechart-search-to-find-how-many-fields-were/m-p/200440#M58110</link>
      <description>&lt;P&gt;Try this (check the rex command as it was truncated in your comments)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=**** source="****" "getProcedureDetailBlueChip" OR "getProcedureDetailBlueChipResponse" AND 
 "Outbound Message" OR "Inbound Message" OR "getProcedureDetailBlueChip response time returning procedure details" OR "memZipCode assigned to zipCode" OR 
 "provZipCode assigned to zipCode" OR "Begin getProcedureDetailBluChip"|rex "(?Inbound|Outbound)" | rex "ID:(?.*)" 
 |rex "(?m)\(?.*)"|rex "(?m)\(?.*)" | timechart span=1h dc(id) by source
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Dec 2016 21:09:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-timechart-search-to-find-how-many-fields-were/m-p/200440#M58110</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-12-15T21:09:51Z</dc:date>
    </item>
  </channel>
</rss>

