<?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 How to timechart with join&amp;gt; in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-timechart-with-join-gt/m-p/645561#M223511</link>
    <description>&lt;P&gt;I have a problem using the timechart command with this query. if i use "table" it works, but with timechart it doesn't... anybody can help?&lt;/P&gt;
&lt;P&gt;|host..., source..., etc&lt;BR /&gt;| table AREA, SUBID, CURRENT_TIMESTAMP&lt;BR /&gt;| join AREA, SUBID, CURRENT_TIMESTAMP&lt;/P&gt;
&lt;P&gt;[|search source... EVENT_TYPE...&lt;BR /&gt;| table AREA, SUBID, TXT, CURRENT_TIMESTAMP ]&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;| eval message_id=AREA.SUBID." ".TXT&lt;BR /&gt;| timechart count(message_id) as "No. of message" by message_id&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jun 2023 14:26:10 GMT</pubDate>
    <dc:creator>Goldenfit</dc:creator>
    <dc:date>2023-06-05T14:26:10Z</dc:date>
    <item>
      <title>How to timechart with join&gt;</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-timechart-with-join-gt/m-p/645561#M223511</link>
      <description>&lt;P&gt;I have a problem using the timechart command with this query. if i use "table" it works, but with timechart it doesn't... anybody can help?&lt;/P&gt;
&lt;P&gt;|host..., source..., etc&lt;BR /&gt;| table AREA, SUBID, CURRENT_TIMESTAMP&lt;BR /&gt;| join AREA, SUBID, CURRENT_TIMESTAMP&lt;/P&gt;
&lt;P&gt;[|search source... EVENT_TYPE...&lt;BR /&gt;| table AREA, SUBID, TXT, CURRENT_TIMESTAMP ]&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;| eval message_id=AREA.SUBID." ".TXT&lt;BR /&gt;| timechart count(message_id) as "No. of message" by message_id&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 14:26:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-timechart-with-join-gt/m-p/645561#M223511</guid>
      <dc:creator>Goldenfit</dc:creator>
      <dc:date>2023-06-05T14:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart with join</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-timechart-with-join-gt/m-p/645586#M223520</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/256797"&gt;@Goldenfit&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;timechart command works only if you have the _time fields.&lt;/P&gt;&lt;P&gt;But you haven't this field.&lt;/P&gt;&lt;P&gt;You could use the stats command using&amp;nbsp;&lt;SPAN&gt;CURRENT_TIMESTAMP as grouping BY option.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In addition, join is a command to use only when you haven't any other solution and having few events, otherwise it's a very slow command; I hint to you to re-design your search using stats.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ciao.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Giuseppe&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 17:03:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-timechart-with-join-gt/m-p/645586#M223520</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-06-02T17:03:45Z</dc:date>
    </item>
  </channel>
</rss>

