<?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 Custom search using timechart in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Custom-search-using-timechart/m-p/679391#M18807</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Query&lt;/STRONG&gt;:&lt;/P&gt;&lt;PRE&gt;index=new "application status" AND Condition=Begin OR Condition=Done
|rex field = _raw "DIDS \s+\[?&amp;lt;data&amp;gt;[^\]]+)"
|dedup data
|timechart span=1d count by application&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Result:&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;_time&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;application1&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;application2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;2022-01-06&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;10&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;2022-01-07&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;12&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;2022-01-08&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;18&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to include Condition field as well in the table, how can i do it???&lt;/P&gt;</description>
    <pubDate>Sat, 02 Mar 2024 23:10:39 GMT</pubDate>
    <dc:creator>vishwa</dc:creator>
    <dc:date>2024-03-02T23:10:39Z</dc:date>
    <item>
      <title>Custom search using timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Custom-search-using-timechart/m-p/679391#M18807</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Query&lt;/STRONG&gt;:&lt;/P&gt;&lt;PRE&gt;index=new "application status" AND Condition=Begin OR Condition=Done
|rex field = _raw "DIDS \s+\[?&amp;lt;data&amp;gt;[^\]]+)"
|dedup data
|timechart span=1d count by application&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Result:&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;_time&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;application1&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;application2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;2022-01-06&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;10&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;2022-01-07&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;12&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;2022-01-08&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;18&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to include Condition field as well in the table, how can i do it???&lt;/P&gt;</description>
      <pubDate>Sat, 02 Mar 2024 23:10:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Custom-search-using-timechart/m-p/679391#M18807</guid>
      <dc:creator>vishwa</dc:creator>
      <dc:date>2024-03-02T23:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custom search using timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Custom-search-using-timechart/m-p/679424#M18810</link>
      <description>&lt;P&gt;You can generally do this by concatenating the two data items into a single field for the split by clause of the timechart, i.e.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;...
| eval split=application.":".Condition
| timechart span=1d count by split&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 03 Mar 2024 21:47:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Custom-search-using-timechart/m-p/679424#M18810</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-03-03T21:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom search using timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Custom-search-using-timechart/m-p/679689#M18820</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp; it worked&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 02:46:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Custom-search-using-timechart/m-p/679689#M18820</guid>
      <dc:creator>vishwa</dc:creator>
      <dc:date>2024-03-06T02:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Custom search using timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Custom-search-using-timechart/m-p/679697#M18821</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/251452"&gt;@vishwa&lt;/a&gt;&amp;nbsp;can you mark it as a solution so others can see it as a valid solution&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 03:59:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Custom-search-using-timechart/m-p/679697#M18821</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-03-06T03:59:32Z</dc:date>
    </item>
  </channel>
</rss>

