<?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: plot a graph in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/plot-a-graph/m-p/113226#M29764</link>
    <description>&lt;P&gt;it is also not working as expected..Is there any other way to achieve this?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Oct 2013 11:29:10 GMT</pubDate>
    <dc:creator>srinathd</dc:creator>
    <dc:date>2013-10-29T11:29:10Z</dc:date>
    <item>
      <title>plot a graph</title>
      <link>https://community.splunk.com/t5/Splunk-Search/plot-a-graph/m-p/113222#M29760</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;For the following search results i need to ploa a graph with starttime in y-axis and Host in x-axis. How to do this?&lt;/P&gt;

&lt;P&gt;Host     starttime&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;Test1   10/24/13 01:44:50&lt;BR /&gt;
Test2   10/24/13 01:44:47&lt;BR /&gt;
Test3   10/24/13 01:44:47&lt;BR /&gt;
Test4   10/24/13 01:45:07&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Srinath&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2013 09:40:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/plot-a-graph/m-p/113222#M29760</guid>
      <dc:creator>srinathd</dc:creator>
      <dc:date>2013-10-24T09:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: plot a graph</title>
      <link>https://community.splunk.com/t5/Splunk-Search/plot-a-graph/m-p/113223#M29761</link>
      <description>&lt;P&gt;Depends on what kind of graph. Normally when you graph things, you have a value associated with the data. I would do something like this.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;your_search | eval Present = if(isnotnull(starttime),1,0)| timechart span=15m  max(Present) by host&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;So, this is saying if your field "starttime" is not null, it will graph a value of 1. So for any events not having a starttime field, it won't show on the graph, thereby plotting values for distinct hosts. Time will be on the X axis, 1 will be on the Y axis, and the column will be for the host.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2013 11:29:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/plot-a-graph/m-p/113223#M29761</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2013-10-24T11:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: plot a graph</title>
      <link>https://community.splunk.com/t5/Splunk-Search/plot-a-graph/m-p/113224#M29762</link>
      <description>&lt;P&gt;what exactly i need is..on y-axis last 24 hrs time range and on x-axis Host name, and the starttime values should be plotted against this.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2013 01:51:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/plot-a-graph/m-p/113224#M29762</guid>
      <dc:creator>srinathd</dc:creator>
      <dc:date>2013-10-25T01:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: plot a graph</title>
      <link>https://community.splunk.com/t5/Splunk-Search/plot-a-graph/m-p/113225#M29763</link>
      <description>&lt;P&gt;you could try: &lt;CODE&gt;|bin span=15m _time | chart starttime over host by _time&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2013 11:38:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/plot-a-graph/m-p/113225#M29763</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2013-10-25T11:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: plot a graph</title>
      <link>https://community.splunk.com/t5/Splunk-Search/plot-a-graph/m-p/113226#M29764</link>
      <description>&lt;P&gt;it is also not working as expected..Is there any other way to achieve this?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2013 11:29:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/plot-a-graph/m-p/113226#M29764</guid>
      <dc:creator>srinathd</dc:creator>
      <dc:date>2013-10-29T11:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: plot a graph</title>
      <link>https://community.splunk.com/t5/Splunk-Search/plot-a-graph/m-p/113227#M29765</link>
      <description>&lt;P&gt;We merely strive to give you examples and possible solutions, you may need to play with the search and functions to get exactly what you want. The more data you give us (not just "what you wrote doesn't work"), the better we can help you.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2013 11:49:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/plot-a-graph/m-p/113227#M29765</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2013-10-29T11:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: plot a graph</title>
      <link>https://community.splunk.com/t5/Splunk-Search/plot-a-graph/m-p/113228#M29766</link>
      <description>&lt;P&gt;i have given all the details.. x-axis values,y-axis values and data values to be plot. just please let me know what data do you need..i will try to give you.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2013 12:18:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/plot-a-graph/m-p/113228#M29766</guid>
      <dc:creator>srinathd</dc:creator>
      <dc:date>2013-10-29T12:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: plot a graph</title>
      <link>https://community.splunk.com/t5/Splunk-Search/plot-a-graph/m-p/113229#M29767</link>
      <description>&lt;P&gt;how about the output of when you ran the chart search above? or the results of the first search?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2013 12:40:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/plot-a-graph/m-p/113229#M29767</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2013-10-29T12:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: plot a graph</title>
      <link>https://community.splunk.com/t5/Splunk-Search/plot-a-graph/m-p/113230#M29768</link>
      <description>&lt;P&gt;|bin span=15m _time | chart starttime over host by _time.. this is not working as it is asking &lt;FUNC&gt;(val) to be used in chart command. and in the first results we are getting _time on x-axis and on y-axis 0.25 to 1.25 as range and (host,starttime) as data values. what i am trying to get is host on x-axis and last 24 hrs time range(or starting time of starttime and endtime of starttime as range) and starttime values as data points&lt;/FUNC&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2013 06:15:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/plot-a-graph/m-p/113230#M29768</guid>
      <dc:creator>srinathd</dc:creator>
      <dc:date>2013-10-31T06:15:51Z</dc:date>
    </item>
  </channel>
</rss>

