<?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: How to create a time chart with row data? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-time-chart-with-row-data/m-p/538861#M152383</link>
    <description>&lt;P&gt;I think you already have everything you need.&amp;nbsp; There's no need to convert the date field because it's already in epoch form.&amp;nbsp; You do need to assign date to _time, however.&amp;nbsp; Try this query.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup mycsv.csv
| eval _time = date
| timechart max(Total) as Total by Source&lt;/LI-CODE&gt;</description>
    <pubDate>Sat, 06 Feb 2021 13:04:49 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2021-02-06T13:04:49Z</dc:date>
    <item>
      <title>How to create a time chart with row data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-time-chart-with-row-data/m-p/538842#M152370</link>
      <description>&lt;P&gt;I have search that runs every day that populates a CSV that looks like this (I have more sources, but wanted to keep it more simple to explain):&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE border="1" width="100.02510670348984%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="14.285714285714286%" height="25px"&gt;Source&lt;/TD&gt;&lt;TD width="14.285714285714286%" height="25px"&gt;Total&lt;/TD&gt;&lt;TD width="14.285714285714286%" height="25px"&gt;Server&lt;/TD&gt;&lt;TD width="14.285714285714286%" height="25px"&gt;Workstation&lt;/TD&gt;&lt;TD width="14.285714285714286%" height="25px"&gt;Other&lt;/TD&gt;&lt;TD width="7.142857142857143%" height="25px"&gt;Unknown&lt;/TD&gt;&lt;TD width="7.142857142857143%"&gt;date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="14.285714285714286%" height="25px"&gt;norton&lt;/TD&gt;&lt;TD width="14.285714285714286%" height="25px"&gt;735&lt;/TD&gt;&lt;TD width="14.285714285714286%" height="25px"&gt;178&lt;/TD&gt;&lt;TD width="14.285714285714286%" height="25px"&gt;542&lt;/TD&gt;&lt;TD width="14.285714285714286%" height="25px"&gt;5&lt;/TD&gt;&lt;TD width="7.142857142857143%" height="25px"&gt;10&lt;/TD&gt;&lt;TD width="7.142857142857143%"&gt;&lt;SPAN&gt;1612548722&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="14.285714285714286%" height="25px"&gt;nessus&amp;nbsp;&lt;/TD&gt;&lt;TD width="14.285714285714286%" height="25px"&gt;857&lt;/TD&gt;&lt;TD width="14.285714285714286%" height="25px"&gt;8&lt;/TD&gt;&lt;TD width="14.285714285714286%" height="25px"&gt;829&lt;/TD&gt;&lt;TD width="14.285714285714286%" height="25px"&gt;9&lt;/TD&gt;&lt;TD width="7.142857142857143%" height="25px"&gt;11&lt;/TD&gt;&lt;TD width="7.142857142857143%"&gt;&lt;SPAN&gt;1612548722&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;I would like a time graph to show each source over time, is this possible? I've tried a few methods, but can't seem to manipulate the data to get it to work right.&amp;nbsp; I know the data will have to be converted using SPL like this&amp;nbsp;&amp;nbsp;|fieldformat date = strftime(date, "%m/%d/%Y").&lt;BR /&gt;&lt;BR /&gt;Any ideas how how to make a time graph by source over time?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 22:36:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-time-chart-with-row-data/m-p/538842#M152370</guid>
      <dc:creator>UMDTERPS</dc:creator>
      <dc:date>2021-02-05T22:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a time chart with row data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-time-chart-with-row-data/m-p/538861#M152383</link>
      <description>&lt;P&gt;I think you already have everything you need.&amp;nbsp; There's no need to convert the date field because it's already in epoch form.&amp;nbsp; You do need to assign date to _time, however.&amp;nbsp; Try this query.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup mycsv.csv
| eval _time = date
| timechart max(Total) as Total by Source&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 06 Feb 2021 13:04:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-time-chart-with-row-data/m-p/538861#M152383</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-02-06T13:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a time chart with row data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-time-chart-with-row-data/m-p/539015#M152442</link>
      <description>&lt;P&gt;Works! Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 16:16:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-time-chart-with-row-data/m-p/539015#M152442</guid>
      <dc:creator>UMDTERPS</dc:creator>
      <dc:date>2021-02-08T16:16:44Z</dc:date>
    </item>
  </channel>
</rss>

