<?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: Calculate historical ingestion from a specific set of hosts to index over time in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Calculate-historical-ingestion-from-a-specific-set-of-hosts-to/m-p/673956#M18335</link>
    <description>&lt;P&gt;I am trying to run this query but Splunk is complaining that the eval is malformed.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SCS/current/SearchReference/EvalCommandExamples" target="_blank"&gt;https://docs.splunk.com/Documentation/SCS/current/SearchReference/EvalCommandExamples&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am not sure from the docs how to try to fix this.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jan 2024 15:49:55 GMT</pubDate>
    <dc:creator>JohnEGones</dc:creator>
    <dc:date>2024-01-11T15:49:55Z</dc:date>
    <item>
      <title>Calculate historical ingestion from a specific set of hosts to index over time</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Calculate-historical-ingestion-from-a-specific-set-of-hosts-to/m-p/673886#M18324</link>
      <description>&lt;P&gt;Hi Guys (and Gals),&lt;/P&gt;&lt;P&gt;Hopefully quick question, and it's late, so my brain isn't firing quickly/properly.&lt;/P&gt;&lt;P&gt;I need to run a query to get the ingestion over time over two variables: host, index&lt;BR /&gt;&lt;BR /&gt;In the specific case, need to determine if the data ingestion from a specific set of hosts, and whether the data inbound has been increasing more than normally expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the query would look like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=linuxos host IN (server1, server2, server3...) [or possibly you may have a lookup of the set of hosts]
| eval sum(the data per host over hour {or whatever regular chunk of time you want} for a 7 day period)
| timechart xyz

==&amp;gt; chart over a line graph&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, if there is relevant dashboard/console in the monitoring console I am not thinking of please direct me to the relevant menu or docs.&lt;/P&gt;&lt;P&gt;Appreciate any assistance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 23:09:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Calculate-historical-ingestion-from-a-specific-set-of-hosts-to/m-p/673886#M18324</guid>
      <dc:creator>JohnEGones</dc:creator>
      <dc:date>2024-01-10T23:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate historical ingestion from a specific set of hosts to index over time</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Calculate-historical-ingestion-from-a-specific-set-of-hosts-to/m-p/673888#M18325</link>
      <description>&lt;P&gt;You can do&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=* 
| eval group=index.":".host
| timechart span=1h sum(eval(len(_raw))) as len by group&lt;/LI-CODE&gt;&lt;P&gt;Use subsearches with lookups to determine which index / host set you want to restrict to&lt;/P&gt;&lt;P&gt;Note with timechart, it will limit the number of groups to 10, so use limit=X where X is the number of index/host pairs to watch&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 02:13:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Calculate-historical-ingestion-from-a-specific-set-of-hosts-to/m-p/673888#M18325</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-01-11T02:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate historical ingestion from a specific set of hosts to index over time</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Calculate-historical-ingestion-from-a-specific-set-of-hosts-to/m-p/673918#M18331</link>
      <description>&lt;P&gt;While &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt; 's solution is correct, it might not be the fastest one &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If your data haven't already rolled over past retention date, you can see if the licensing report is enough for you (but as far as I remember it's &lt;EM&gt;either&lt;/EM&gt; by host or by index).&lt;/P&gt;&lt;P&gt;Unfortunately, if you want to measure the size of raw data (which is what you're asking about), you need to read all the raw data back from the time period you need to analyze. Which is gonna be painfully slow if your environment is of any decent size.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 10:23:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Calculate-historical-ingestion-from-a-specific-set-of-hosts-to/m-p/673918#M18331</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-01-11T10:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate historical ingestion from a specific set of hosts to index over time</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Calculate-historical-ingestion-from-a-specific-set-of-hosts-to/m-p/673956#M18335</link>
      <description>&lt;P&gt;I am trying to run this query but Splunk is complaining that the eval is malformed.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SCS/current/SearchReference/EvalCommandExamples" target="_blank"&gt;https://docs.splunk.com/Documentation/SCS/current/SearchReference/EvalCommandExamples&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am not sure from the docs how to try to fix this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 15:49:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Calculate-historical-ingestion-from-a-specific-set-of-hosts-to/m-p/673956#M18335</guid>
      <dc:creator>JohnEGones</dc:creator>
      <dc:date>2024-01-11T15:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate historical ingestion from a specific set of hosts to index over time</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Calculate-historical-ingestion-from-a-specific-set-of-hosts-to/m-p/673987#M18340</link>
      <description>&lt;P&gt;Your link leads to wrong documentation (but for some strange reason Google seems to favour it over the proper SPL documentation). There are two different search languages - SPL and SPL2. SPL is used within Splunk Enterprise (and Splunk Cloud), SPL2 is used here and there (I think most notable use is the Edge Processor) but it's not as widely used as SPL. I know it's confusing &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Anyway, you need docs for SPL, not SPL2.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/WhatsInThisManual" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/WhatsInThisManual&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 21:26:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Calculate-historical-ingestion-from-a-specific-set-of-hosts-to/m-p/673987#M18340</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-01-11T21:26:54Z</dc:date>
    </item>
  </channel>
</rss>

