<?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: Timechart for multiple search total in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Timechart-for-multiple-search-total/m-p/542951#M153804</link>
    <description>&lt;P&gt;Do you have anything before the search you sent us? If yes, we should find another way to do it.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Mar 2021 07:01:35 GMT</pubDate>
    <dc:creator>scelikok</dc:creator>
    <dc:date>2021-03-09T07:01:35Z</dc:date>
    <item>
      <title>Timechart for multiple search total</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-for-multiple-search-total/m-p/542796#M153758</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want total of multiple searches in timechart per week.&lt;/P&gt;&lt;P&gt;My search in simple format last 90 days:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup abcd.csv | search host=*CC* | dedup host | stats count(host) as "List1"
| appendcols
[| inputlookup efgh.csv | search host=*AA* | dedup host | stats count(host) as "List2"]
| appendcols
[| inputlookup xyz1.csv | search host=*BB* | dedup host | stats count(host) as "List3"]
| eval Total=List1+List2+List3
| timechart span=w@1w sum(Total) as "Hosts"&lt;/LI-CODE&gt;&lt;P&gt;If I run it without last timechart line, then it gives me total for 90 days or 1 week, but I need same results calculated weekly using timechart, and display total per week.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 08:35:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-for-multiple-search-total/m-p/542796#M153758</guid>
      <dc:creator>utk123</dc:creator>
      <dc:date>2021-03-08T08:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart for multiple search total</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-for-multiple-search-total/m-p/542831#M153763</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/93258"&gt;@utk123&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Assuming you have _time field in all your lookup files you can try something like below;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup abcd.csv where host="*CC*" | eval list="List1"
| inputlookup append=t efgh.csv where host="*AA*" | eval list=coalesce(list,"List2")
| inputlookup append=t xyz1.csv where host="*BB*" | eval list=coalesce(list,"List3")
| bin _time span=w@1w 
| stats dc(host) as host_count by list _time
| timechart span=w@1w sum(host_count) as Total&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 08 Mar 2021 14:21:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-for-multiple-search-total/m-p/542831#M153763</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-03-08T14:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart for multiple search total</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-for-multiple-search-total/m-p/542945#M153802</link>
      <description>&lt;P&gt;I get below error:&lt;/P&gt;&lt;P&gt;Error in 'inputlookup' command: This command must be the first command of a search.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 06:28:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-for-multiple-search-total/m-p/542945#M153802</guid>
      <dc:creator>utk123</dc:creator>
      <dc:date>2021-03-09T06:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart for multiple search total</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-for-multiple-search-total/m-p/542949#M153803</link>
      <description>&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/93258"&gt;@utk123&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;timechart command will work with _time field. Does your lookups has any date time column like host_created_date , etc... ?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.2/SearchReference/Timechart" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.1.2/SearchReference/Timechart&lt;/A&gt;</description>
      <pubDate>Tue, 09 Mar 2021 06:48:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-for-multiple-search-total/m-p/542949#M153803</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-03-09T06:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart for multiple search total</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-for-multiple-search-total/m-p/542951#M153804</link>
      <description>&lt;P&gt;Do you have anything before the search you sent us? If yes, we should find another way to do it.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 07:01:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-for-multiple-search-total/m-p/542951#M153804</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-03-09T07:01:35Z</dc:date>
    </item>
  </channel>
</rss>

