<?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 user logon session line chart by timechart command in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-user-logon-session-line-chart-by-timechart-command/m-p/532150#M36197</link>
    <description>&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;That's what I wanted to do.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Dec 2020 06:18:11 GMT</pubDate>
    <dc:creator>p2akira</dc:creator>
    <dc:date>2020-12-07T06:18:11Z</dc:date>
    <item>
      <title>How to create user logon session line chart by timechart command</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-user-logon-session-line-chart-by-timechart-command/m-p/532044#M36176</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi all,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have data in below that indicates logon and logoff time.&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;_time&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;user&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;startTime&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;endTime&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;20/12/04 18:07:03.000&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;A&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;1607072823&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;1607073562&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;20/12/04 17:53:22.000&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;B&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;1607072002&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;1607074229&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;20/12/04 16:21:19.000&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;A&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;1607066479&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;1607066494&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;20/12/04 16:07:32.000&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;C&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;1607065652&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;1607065719&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;"_time" is equal to startTime but startTime is epoch time.&lt;/P&gt;&lt;P&gt;I would like to plot this time series data to line chart using timechart command.&lt;/P&gt;&lt;P&gt;Like,&amp;nbsp;x axis indicates time with 1minutes span, and y axis indicates each user name and plot data to be 1 between session startTime and endTime.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 15:53:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-user-logon-session-line-chart-by-timechart-command/m-p/532044#M36176</guid>
      <dc:creator>p2akira</dc:creator>
      <dc:date>2020-12-04T15:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to create user logon session line chart by timechart command</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-user-logon-session-line-chart-by-timechart-command/m-p/532045#M36177</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/46888"&gt;@p2akira&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;To do what you like, you should explore the timeline Visualization&amp;nbsp;&lt;A href="https://splunkbase.splunk.com/app/3120/" target="_blank"&gt;https://splunkbase.splunk.com/app/3120/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 16:03:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-user-logon-session-line-chart-by-timechart-command/m-p/532045#M36177</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-12-04T16:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to create user logon session line chart by timechart command</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-user-logon-session-line-chart-by-timechart-command/m-p/532047#M36178</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you your app suggestions&lt;/P&gt;&lt;P&gt;I'm aware of that app, but I can't install it because our Splunk is deployed on a closed network or can't bring app packaged file.&lt;BR /&gt;Therefore, I would like to implement it by using the line chart that I can use by default.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 16:08:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-user-logon-session-line-chart-by-timechart-command/m-p/532047#M36178</guid>
      <dc:creator>p2akira</dc:creator>
      <dc:date>2020-12-04T16:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to create user logon session line chart by timechart command</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-user-logon-session-line-chart-by-timechart-command/m-p/532094#M36186</link>
      <description>&lt;LI-CODE lang="markup"&gt;index=_internal | head 1 | fields _raw 
| eval _raw="_time	user	startTime	endTime
20/12/04 18:07:03.000	A	1607072823	1607073562
20/12/04 17:53:22.000	B	1607072002	1607074229
20/12/04 16:21:19.000	A	1607066479	1607066494
20/12/04 16:07:32.000	C	1607065652	1607065719"
| multikv forceheader=1
| rex "(?&amp;lt;time&amp;gt;\S+ \S+)\s+(?&amp;lt;user&amp;gt;\w)\s+(?&amp;lt;startTime&amp;gt;\d+)\s+(?&amp;lt;endTime&amp;gt;\d+)"
| eval _time=strptime(time,"%y/%m/%d %T.%3Q")

| eval time=mvrange(startTime,endTime,60)
| mvexpand time
| stats count by time user
| rename time as _time
| timechart span=1min cont=f count by user&lt;/LI-CODE&gt;&lt;P&gt;try column chart with stack&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2020 04:38:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-user-logon-session-line-chart-by-timechart-command/m-p/532094#M36186</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-12-05T04:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to create user logon session line chart by timechart command</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-user-logon-session-line-chart-by-timechart-command/m-p/532150#M36197</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;That's what I wanted to do.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 06:18:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-user-logon-session-line-chart-by-timechart-command/m-p/532150#M36197</guid>
      <dc:creator>p2akira</dc:creator>
      <dc:date>2020-12-07T06:18:11Z</dc:date>
    </item>
  </channel>
</rss>

