<?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: graphing a logs per second value in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/graphing-a-logs-per-second-value/m-p/85713#M21891</link>
    <description>&lt;P&gt;Maybe this question and its answers can help.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/10147/how-to-show-events-per-second-in-timechart-regardless-of-span"&gt;http://splunk-base.splunk.com/answers/10147/how-to-show-events-per-second-in-timechart-regardless-of-span&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Oct 2012 10:11:19 GMT</pubDate>
    <dc:creator>Ayn</dc:creator>
    <dc:date>2012-10-10T10:11:19Z</dc:date>
    <item>
      <title>graphing a logs per second value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/graphing-a-logs-per-second-value/m-p/85712#M21890</link>
      <description>&lt;P&gt;I'm using this query to graph how many web requests are being logged per second:&lt;/P&gt;

&lt;P&gt;index="bigip_ltm" (event=HTTP_REQUEST OR event=HTTP_RESPONSE) client_ip=1.2.3.4 | timechart count(event) by event&lt;/P&gt;

&lt;P&gt;But, in line with many questions here, the count() is graphed over a time interval derived from the search period. I've tried many permutations of span=1s, bucket commands etc, but I can't work out how to plot an average one second value over whatever period of time is represented on the graph.&lt;/P&gt;

&lt;P&gt;In this question &lt;A href="http://splunk-base.splunk.com/answers/46978/average-field-value-per-second" target="_blank"&gt;http://splunk-base.splunk.com/answers/46978/average-field-value-per-second&lt;/A&gt; the "per_second" data is in the logs, but i want a per_second of the count of the number of logs, so one step further removed.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:36:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/graphing-a-logs-per-second-value/m-p/85712#M21890</guid>
      <dc:creator>acidkewpie</dc:creator>
      <dc:date>2020-09-28T12:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: graphing a logs per second value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/graphing-a-logs-per-second-value/m-p/85713#M21891</link>
      <description>&lt;P&gt;Maybe this question and its answers can help.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/10147/how-to-show-events-per-second-in-timechart-regardless-of-span"&gt;http://splunk-base.splunk.com/answers/10147/how-to-show-events-per-second-in-timechart-regardless-of-span&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2012 10:11:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/graphing-a-logs-per-second-value/m-p/85713#M21891</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-10-10T10:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: graphing a logs per second value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/graphing-a-logs-per-second-value/m-p/85714#M21892</link>
      <description>&lt;P&gt;Yeah, that's pretty useful. I thought there needed to be another aggregation stage but couldn't work out what it might be.&lt;/P&gt;

&lt;P&gt;I've now got this&lt;/P&gt;

&lt;P&gt;index="bigip_ltm" (event=HTTP_REQUEST OR event=HTTP_RESPONSE) client_ip=1.2.3.4 | timechart count by event | timechart per_second(HTTP_REQUEST) per_second(HTTP_RESPONSE)&lt;/P&gt;

&lt;P&gt;I don't like having to field values end up as static field names, but I presume that's pretty much unavoidable? There's no way to graph all the "event" values implicitly?&lt;/P&gt;

&lt;P&gt;Either way, that's got me what I asked for! thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:36:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/graphing-a-logs-per-second-value/m-p/85714#M21892</guid>
      <dc:creator>acidkewpie</dc:creator>
      <dc:date>2020-09-28T12:36:13Z</dc:date>
    </item>
  </channel>
</rss>

