<?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 post  for multiple web sites in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/timechart-for-post-for-multiple-web-sites/m-p/479381#M134357</link>
    <description>&lt;P&gt;you cant timechart strings, what you need is timechart acount of get or post..something like |timechart count by post_method. You of course can not have 2 fields in the by clause.suggest using stats instead something like&lt;BR /&gt;
|bin span=1h _time|stats count by post_method,portal&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 02:53:09 GMT</pubDate>
    <dc:creator>Sukisen1981</dc:creator>
    <dc:date>2020-09-30T02:53:09Z</dc:date>
    <item>
      <title>timechart for post  for multiple web sites</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-for-post-for-multiple-web-sites/m-p/479380#M134356</link>
      <description>&lt;P&gt;I have multiple web portals.&lt;/P&gt;

&lt;P&gt;portal= &lt;A href="http://www.xyz.com"&gt;www.xyz.com&lt;/A&gt;, &lt;A href="http://www.abc.com"&gt;www.abc.com&lt;/A&gt;&lt;BR /&gt;
post_method = get | post&lt;/P&gt;

&lt;P&gt;Now I want a timechart like values(post_method) by portal&lt;BR /&gt;
then I want to use trellis option like for each portal there is seperate graph with number of get and post requests.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 08:21:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-for-post-for-multiple-web-sites/m-p/479380#M134356</guid>
      <dc:creator>riqbal47010</dc:creator>
      <dc:date>2019-11-07T08:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: timechart for post  for multiple web sites</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-for-post-for-multiple-web-sites/m-p/479381#M134357</link>
      <description>&lt;P&gt;you cant timechart strings, what you need is timechart acount of get or post..something like |timechart count by post_method. You of course can not have 2 fields in the by clause.suggest using stats instead something like&lt;BR /&gt;
|bin span=1h _time|stats count by post_method,portal&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:53:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-for-post-for-multiple-web-sites/m-p/479381#M134357</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2020-09-30T02:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: timechart for post  for multiple web sites</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-for-post-for-multiple-web-sites/m-p/479382#M134358</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="YouShouldAlwaysSpecifyAnIdex" AND sourcetype="AndSourcetypeToo" AND portal IN("www.xyz.com", "www.abc.com")
| timechart count(eval(post_method=="get")) AS Gets count(eval(post_method=="post")) AS Posts BY portal
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then the trellis function be functional and you can just click on which split you like ( &lt;CODE&gt;portal&lt;/CODE&gt; or &lt;CODE&gt;post_method&lt;/CODE&gt; )&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 14:57:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-for-post-for-multiple-web-sites/m-p/479382#M134358</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-11-07T14:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: timechart for post  for multiple web sites</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-for-post-for-multiple-web-sites/m-p/479383#M134359</link>
      <description>&lt;P&gt;thanks &lt;/P&gt;

&lt;P&gt;it is working now as expected.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 08:42:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-for-post-for-multiple-web-sites/m-p/479383#M134359</guid>
      <dc:creator>riqbal47010</dc:creator>
      <dc:date>2019-11-11T08:42:44Z</dc:date>
    </item>
  </channel>
</rss>

