<?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: Flow chart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Flow-chart/m-p/650745#M225000</link>
    <description>&lt;P&gt;The command you are looking for is&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Timechart" target="_blank" rel="noopener"&gt;timechart&lt;/A&gt;, the option to examine data in user-selected time interval is available in&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/Aboutthismanual" target="_blank" rel="noopener"&gt;dashboard&lt;/A&gt;&amp;nbsp;(whether classic aka Simple XML or Dashboard Studio).&lt;/P&gt;&lt;P&gt;Based on sample code you have shown, I suspect that the timechart should look something like&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| timechart span=1d count by Name&lt;/LI-CODE&gt;&lt;P&gt;But you didn't explain the complex acrobat around TimeStamp, so it is hard to say how that is to be transformed into Splunk's native _time.&lt;/P&gt;&lt;P&gt;Your picture suggests that you had some exposure to Grafana. &amp;nbsp;If that is the case, and you want to pick up Splunk, the best course is try to forget the ways of Grafana, which isolates data from visualization and, as a consequence, has no true sense of time. &amp;nbsp;_time is an internal field that is central to Splunk data. &amp;nbsp;In most cases, correct time should be determined at ingestion time so the user (programmer) needn't have to worry about.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jul 2023 07:07:16 GMT</pubDate>
    <dc:creator>yuanliu</dc:creator>
    <dc:date>2023-07-17T07:07:16Z</dc:date>
    <item>
      <title>Flow chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Flow-chart/m-p/650719#M224989</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a table of 3 columns: Event name, time(=when the event happened) and source (file name).&lt;/P&gt;&lt;P&gt;I need to create a flow chart (similar to the attached picture) when X-axis represents time and Y axis binary (event happen or not).&lt;BR /&gt;I need a line for each event name and a different color for each line.&lt;BR /&gt;I also need to filter by time range (like the chart in the picture, to have the option to look on different time intervals). Also, click on a specific point and get its raw data (to know from which file it was taken).&lt;/P&gt;&lt;P&gt;Can I do it in Splunk? How?&lt;BR /&gt;&lt;BR /&gt;I tried to create a timeline, but it doesn't look so good :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;| eval myTime=TimeStamp/10000000 - 11644473600 | eval WinTimeStamp2=strftime(myTime, "%Y-%m-%dT%H:%M:%S.%Q")&lt;BR /&gt;| bin WinTimeStamp2 span=1d | stats count by WinTimeStamp2, Name&lt;BR /&gt;&lt;BR /&gt;example for timestamp=&lt;SPAN&gt;133265876804261336&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maayan&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jul 2023 12:51:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Flow-chart/m-p/650719#M224989</guid>
      <dc:creator>maayan</dc:creator>
      <dc:date>2023-07-16T12:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Flow chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Flow-chart/m-p/650745#M225000</link>
      <description>&lt;P&gt;The command you are looking for is&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Timechart" target="_blank" rel="noopener"&gt;timechart&lt;/A&gt;, the option to examine data in user-selected time interval is available in&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/Aboutthismanual" target="_blank" rel="noopener"&gt;dashboard&lt;/A&gt;&amp;nbsp;(whether classic aka Simple XML or Dashboard Studio).&lt;/P&gt;&lt;P&gt;Based on sample code you have shown, I suspect that the timechart should look something like&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| timechart span=1d count by Name&lt;/LI-CODE&gt;&lt;P&gt;But you didn't explain the complex acrobat around TimeStamp, so it is hard to say how that is to be transformed into Splunk's native _time.&lt;/P&gt;&lt;P&gt;Your picture suggests that you had some exposure to Grafana. &amp;nbsp;If that is the case, and you want to pick up Splunk, the best course is try to forget the ways of Grafana, which isolates data from visualization and, as a consequence, has no true sense of time. &amp;nbsp;_time is an internal field that is central to Splunk data. &amp;nbsp;In most cases, correct time should be determined at ingestion time so the user (programmer) needn't have to worry about.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 07:07:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Flow-chart/m-p/650745#M225000</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2023-07-17T07:07:16Z</dc:date>
    </item>
  </channel>
</rss>

