<?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: Visualize splunk in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446813#M45431</link>
    <description>&lt;P&gt;sorry im back here &lt;BR /&gt;
    |stats earliest(when) AS startTime latest(when) AS endTime by mainprocessname,ResourceID,Status&lt;BR /&gt;
i cant get real time when i use earliest as start time .. &lt;BR /&gt;
when= when the process start &lt;BR /&gt;
any suggistions &lt;/P&gt;

&lt;P&gt;here is my query &lt;BR /&gt;
    source="BP"&lt;BR /&gt;
    | eval t = when &lt;BR /&gt;
    | eval time =strptime(t,"%Y-%m-%d, , %H:%M:%S.%Q%Z") | dedup 1 sessionNumber sortby -time  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|stats earliest(when) AS startTime latest(when) AS endTime by mainprocessname,ResourceID,Status | eval DurationSeconds=(endTime - startTime) 
| eval startTime = strftime( strptime( startTime, "%Y-%m-%dT%H:%M:%S"), "%Y-%m-%d %H:%M:%S")
| eval endTime = strftime( strptime( endTime, "%Y-%m-%dT%H:%M:%S"), "%Y-%m-%d %H:%M:%S")
| table startTime,endTime , mainprocessname , ResourceID,Status 
| rename mainprocessname as "Process" , ResourceID as "Runtime resource",startTime as "Start time", endTime as "End time"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 16 Aug 2019 07:20:20 GMT</pubDate>
    <dc:creator>hazemfarajallah</dc:creator>
    <dc:date>2019-08-16T07:20:20Z</dc:date>
    <item>
      <title>Visualize splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446806#M45424</link>
      <description>&lt;P&gt;hello&lt;BR /&gt;
i could collect all the data i need from log , but find it so hard how to Visualize them &lt;BR /&gt;
here is my of my data item (event)&lt;BR /&gt;
currprocessid:  0f7befb1-7570-4057-81a7-738d3495500a &lt;BR /&gt;
    currprocessname:   02.Timrapportering &lt;BR /&gt;
    currprocesstype:  0 &lt;BR /&gt;
    eventId:  error &lt;BR /&gt;
    mainprocessid:  0f7befb1-7570-4057-81a7-738d3495500a &lt;BR /&gt;
    mainprocessname:  2.Timrapportering&lt;BR /&gt;
    pageid:  00000000-0000-0000-0000-000000000000 &lt;BR /&gt;
    pagename:  Main Page &lt;BR /&gt;
    resourceName:  HP4E105402 &lt;BR /&gt;
    sessionNumber:  2746 &lt;BR /&gt;
    sessionid:  547d706e-abad-46de-bd33-4848d6b37e20 &lt;BR /&gt;
    stageid:  cbbef370-aa9d-4283-8d7c-590a56d5e766 &lt;BR /&gt;
    stagename:  System Exception &lt;BR /&gt;
    when:  2019-08-14T11:56:52.0946127Z&lt;/P&gt;

&lt;P&gt;trying to collect last top 20 item  with when , main process name , and currprocesstype ,resourceName any tips how to query them &lt;/P&gt;

&lt;P&gt;what i reached source="BP" | fields + c_time, ResourceID, mainprocessname, currprocesstype &lt;BR /&gt;
| convert timeformat="%H:%M:%S" ctime(_time) AS c_time &lt;BR /&gt;
| fields - _raw, c_time&lt;BR /&gt;&lt;BR /&gt;
Works as table in search but when i get to the dashboard and select limit top, its not working &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:43:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446806#M45424</guid>
      <dc:creator>hazemfarajallah</dc:creator>
      <dc:date>2020-09-30T01:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Visualize splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446807#M45425</link>
      <description>&lt;P&gt;need to provide better data, either you have really hit a bug (as unlikely as it gets..) or you are probably doing something wrong with time ranges / user roles when you save the table as a panel in a dashboard.&lt;BR /&gt;
Can you elaborate more? There is no way (well, you can never say no so a very very small chance) that what works as a table won't work in a dashboard.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 15:37:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446807#M45425</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2019-08-14T15:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Visualize splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446808#M45426</link>
      <description>&lt;P&gt;Hi thanks for answering, i managed to fix it &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; . yes, I was doing crazy things until i understood my mistake from trying.&lt;/P&gt;

&lt;P&gt;now i just need to learn how to group my data &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; . &lt;BR /&gt;
here is my dashboard look like, i will try to gruop them by mainprocess name &lt;BR /&gt;
ResourceID  mainprocessname currprocesstype _time&lt;BR /&gt;
HP4E105402   - Create orders    0   2019-08-14 13:54:31&lt;BR /&gt;
HP4E105402   - Create orders    0   2019-08-14 13:54:31&lt;BR /&gt;
HP4E105402  NordpoolCheck   0   2019-08-14 13:53:14&lt;BR /&gt;
HP4E105402  NordpoolCheck   0   2019-08-14 13:53:14&lt;BR /&gt;
HP4E105402  NordpoolCheck   0   2019-08-14 13:53:14&lt;BR /&gt;
HP4E105402  NordpoolCheck   0   2019-08-14 13:53:14&lt;BR /&gt;
HP4E105402  NordpoolCheck   0   2019-08-14 13:53:14&lt;BR /&gt;
HP4E105402  NordpoolCheck   0   2019-08-14 13:53:14&lt;BR /&gt;
HP4E105402  NordpoolCheck   0   2019-08-14 13:53:14&lt;BR /&gt;
HP4E105402  NordpoolCheck   0   2019-08-14 13:53:14&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 06:58:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446808#M45426</guid>
      <dc:creator>hazemfarajallah</dc:creator>
      <dc:date>2019-08-15T06:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Visualize splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446809#M45427</link>
      <description>&lt;P&gt;thanks it worked out was my mistake &lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 11:09:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446809#M45427</guid>
      <dc:creator>hazemfarajallah</dc:creator>
      <dc:date>2019-08-15T11:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Visualize splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446810#M45428</link>
      <description>&lt;P&gt;hello again.&lt;BR /&gt;
if you kindly look at this query &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="BP"
| eval t = when 
| eval time =strptime(t,"%Y-%m-%d, , %H:%M:%S.%Q%Z") | dedup 1 sessionNumber sortby -time  
| eval Status = case (eventId="endProcess","Completed" ,eventId="error","Terminated")
| eval ResourceID = case (ResourceID="XXX","XX" ,ResourceID="XX","XX")
|stats earliest(when) AS startTime latest(when) AS endTime by mainprocessname,ResourceID,Status | eval DurationSeconds=(endTime - startTime)
| table  startTime,endTime , mainprocessname , ResourceID,Status 
| rename mainprocessname as "Process" , ResourceID as "Runtime resource",startTime as "Start time", endTime as "End time"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and i have all the result i want &lt;BR /&gt;
but my starttime, endtime is in this formate &lt;/P&gt;

&lt;P&gt;2019-08-15T10:42:06.8159144Z&lt;BR /&gt;
every time i try to convert to date time only i lose the result , i think because its gruoped by&lt;BR /&gt;
stats .... any way around this to show normal date time &lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 12:28:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446810#M45428</guid>
      <dc:creator>hazemfarajallah</dc:creator>
      <dc:date>2019-08-15T12:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Visualize splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446811#M45429</link>
      <description>&lt;P&gt;To change the format of a timestamp string, use &lt;CODE&gt;strptime()&lt;/CODE&gt; to convert the string to an integer then use &lt;CODE&gt;strftime&lt;/CODE&gt; to convert the integer to the desired string format.  The two can be combined like this: &lt;CODE&gt;| eval startTime = strftime( strptime( startTime, "%Y-%m-%dT%H:%M:%S.%7NZ"), "%Y-%m-%d %H:%M:%S%Z")&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 12:49:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446811#M45429</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-08-15T12:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Visualize splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446812#M45430</link>
      <description>&lt;P&gt;wow Big Thanks ,&lt;BR /&gt;
its my 3rd day on spunk and i just love it ... &lt;/P&gt;

&lt;P&gt;Regards &lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 13:14:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446812#M45430</guid>
      <dc:creator>hazemfarajallah</dc:creator>
      <dc:date>2019-08-15T13:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Visualize splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446813#M45431</link>
      <description>&lt;P&gt;sorry im back here &lt;BR /&gt;
    |stats earliest(when) AS startTime latest(when) AS endTime by mainprocessname,ResourceID,Status&lt;BR /&gt;
i cant get real time when i use earliest as start time .. &lt;BR /&gt;
when= when the process start &lt;BR /&gt;
any suggistions &lt;/P&gt;

&lt;P&gt;here is my query &lt;BR /&gt;
    source="BP"&lt;BR /&gt;
    | eval t = when &lt;BR /&gt;
    | eval time =strptime(t,"%Y-%m-%d, , %H:%M:%S.%Q%Z") | dedup 1 sessionNumber sortby -time  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|stats earliest(when) AS startTime latest(when) AS endTime by mainprocessname,ResourceID,Status | eval DurationSeconds=(endTime - startTime) 
| eval startTime = strftime( strptime( startTime, "%Y-%m-%dT%H:%M:%S"), "%Y-%m-%d %H:%M:%S")
| eval endTime = strftime( strptime( endTime, "%Y-%m-%dT%H:%M:%S"), "%Y-%m-%d %H:%M:%S")
| table startTime,endTime , mainprocessname , ResourceID,Status 
| rename mainprocessname as "Process" , ResourceID as "Runtime resource",startTime as "Start time", endTime as "End time"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Aug 2019 07:20:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446813#M45431</guid>
      <dc:creator>hazemfarajallah</dc:creator>
      <dc:date>2019-08-16T07:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Visualize splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446814#M45432</link>
      <description>&lt;P&gt;I am trying to get it in real time. &lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 07:23:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446814#M45432</guid>
      <dc:creator>hazemfarajallah</dc:creator>
      <dc:date>2019-08-16T07:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Visualize splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446815#M45433</link>
      <description>&lt;P&gt;hi @hazemfarajallah &lt;/P&gt;

&lt;P&gt;this code in your 3rd line - | eval time =strptime(t,"%Y-%m-%d, , %H:%M:%S.%Q%Z")&lt;BR /&gt;
gives no output for the field time, replace this with&lt;BR /&gt;
    eval time =strptime(t,"%Y-%m-%dT%H:%M:%S.%7NZ")&lt;BR /&gt;
after that replace the earliest(when) with earliest(time) in your stats&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 07:37:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446815#M45433</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2019-08-16T07:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Visualize splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446816#M45434</link>
      <description>&lt;P&gt;ok i did this i think my group by is worng &lt;CODE&gt;|stats earliest(time) AS startTime latest(time) AS endTime by mainprocessname,ResourceID,Status&lt;/CODE&gt;&lt;BR /&gt;
if i leave as only by mainprocessname then i get the latest but no time stamp ... not sure where is my bug &lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 07:49:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446816#M45434</guid>
      <dc:creator>hazemfarajallah</dc:creator>
      <dc:date>2019-08-16T07:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Visualize splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446817#M45435</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;"source="BP"
| eval t = when 
| eval time =strptime(t,"%Y-%m-%dT%H:%M:%S.%7NZ") | dedup 1 sessionNumber sortby -time  
| eval Status = case (eventId="endProcess","Completed" ,eventId="error","Terminated")
|stats earliest(time) AS startTime latest(time) AS endTime by mainprocessname,ResourceID,Status | eval DurationSeconds=(endTime - startTime) 
| eval startTime = strftime( strptime( startTime, "%Y-%m-%dT%H:%M:%S"), "%Y-%m-%d %H:%M:%S")
| eval endTime = strftime( strptime( endTime, "%Y-%m-%dT%H:%M:%S"), "%Y-%m-%d %H:%M:%S")
| table startTime,endTime , mainprocessname , ResourceID,Status 
| rename mainprocessname as "Process" , ResourceID as "Runtime resource",startTime as "Start time", endTime as "End time""
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Aug 2019 07:50:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446817#M45435</guid>
      <dc:creator>hazemfarajallah</dc:creator>
      <dc:date>2019-08-16T07:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Visualize splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446818#M45436</link>
      <description>&lt;P&gt;@hazemfarajallah - Hang on a bit &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
Firstly, remove all code after your stats and just confirm if the stats output is correct and as per your expectation.&lt;BR /&gt;
for example i cannot see what is ResourceID, i can see something like resourceName.&lt;BR /&gt;
even before you check the stats, please check whether each of the eval is giving you the expected result.&lt;BR /&gt;
You need to  debug your code almost line by line, trust me that is easier than just changing a bit of stuff here and there in a large query and hoping that things will work.&lt;BR /&gt;
Is Status coming out as expected, what happens if you have evetId different from endprocess or error..please verify&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 07:55:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446818#M45436</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2019-08-16T07:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Visualize splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446819#M45437</link>
      <description>&lt;P&gt;''&lt;CODE&gt;source="BP"&lt;BR /&gt;
|stats earliest(when) AS startTime latest(when) AS endTime by mainprocessname &lt;BR /&gt;
|table startTime,endTime , mainprocessname&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;this shows this time but its not formated &lt;BR /&gt;
here is my sample of event .&lt;BR /&gt;
&lt;CODE&gt;currprocessid:  ae5a9eff-1c7a-48fa-acfa-e2145d06f35f &lt;BR /&gt;
    currprocessname:  04 - Ändra fakturasätt &lt;BR /&gt;
    currprocesstype:  0 &lt;BR /&gt;
    eventId:  startDecision &lt;BR /&gt;
    mainprocessid:  ae5a9eff-1c7a-48fa-acfa-e2145d06f35f &lt;BR /&gt;
    mainprocessname:  04 - Ändra fakturasätt &lt;BR /&gt;
    pageid:  47e58161-0f42-47cc-aa94-af755a8de010 &lt;BR /&gt;
    pagename:  Change Invoice Type &lt;BR /&gt;
    resourceName:  HP20082212 &lt;BR /&gt;
    sessionNumber:  3310 &lt;BR /&gt;
    sessionid:  c557c373-5632-4eb7-a321-f63f73cc1c34 &lt;BR /&gt;
    stageid:  33e7422a-4f28-4c41-a408-513d1d704d23 &lt;BR /&gt;
    stagename:  9 siffror? &lt;BR /&gt;
    when:  2019-08-16T08:03:20.8916931Z&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 08:04:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446819#M45437</guid>
      <dc:creator>hazemfarajallah</dc:creator>
      <dc:date>2019-08-16T08:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Visualize splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446820#M45438</link>
      <description>&lt;P&gt;where is resourceid that you are using in your stats command in the above event?&lt;BR /&gt;
And you will have to reformat the time back&lt;BR /&gt;
|eval startTime =strftime(startTime ,"%Y-%m-%dT%H:%M:%S.%7NZ") |eval endTime=strftime(endTime,"%Y-%m-%dT%H:%M:%S.%7NZ")&lt;BR /&gt;
Once again, what is resourceid and what about the status field like i asked before&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 08:09:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446820#M45438</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2019-08-16T08:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Visualize splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446821#M45439</link>
      <description>&lt;P&gt;Status I got from converting the event id &lt;CODE&gt;eval Status = case (eventId="endProcess","Completed" ,eventId="error","Terminated")&lt;/CODE&gt;&lt;BR /&gt;
and resourceId  should use  resourceName (MY big mistake)&lt;BR /&gt;
I did what you said line by line &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;  &lt;STRONG&gt;BIG thanks&lt;/STRONG&gt;&lt;BR /&gt;
now everything in a place you was right &lt;BR /&gt;
as &lt;CODE&gt;source="BP"&lt;BR /&gt;
| eval Status = case (eventId="endProcess","Completed" ,eventId="error","Terminated")&lt;BR /&gt;
|stats earliest(when) AS startTime latest(when) AS endTime by mainprocessname,Status,resourceName &lt;BR /&gt;
|eval startTime = strftime( strptime( startTime, "%Y-%m-%dT%H:%M:%S.%7NZ"), "%Y-%m-%d %H:%M:%S")&lt;BR /&gt;
|eval endTime = strftime( strptime( endTime, "%Y-%m-%dT%H:%M:%S.%7NZ"), "%Y-%m-%d %H:%M:%S")&lt;BR /&gt;
|table startTime,endTime , mainprocessname,Status, resourceName&lt;/CODE&gt;&lt;BR /&gt;
`&lt;BR /&gt;
All in a place &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 08:36:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446821#M45439</guid>
      <dc:creator>hazemfarajallah</dc:creator>
      <dc:date>2019-08-16T08:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Visualize splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446822#M45440</link>
      <description>&lt;P&gt;sorry, i posted as answer,&lt;BR /&gt;
my resourceid now resouceName , status is from eval my event id, but having problem with the group by due i cant show the status in the table &lt;BR /&gt;
`source="BP"&lt;BR /&gt;
|eval Status = case (eventId="endProcess","Completed" ,eventId="error","Terminated") &lt;BR /&gt;
|stats earliest(when) AS startTime latest(when) AS endTime by mainprocessname &lt;BR /&gt;
|eval startTime = strftime( strptime( startTime, "%Y-%m-%dT%H:%M:%S.%7NZ"), "%Y-%m-%d %H:%M:%S")&lt;BR /&gt;
|eval endTime = strftime( strptime( endTime, "%Y-%m-%dT%H:%M:%S.%7NZ"), "%Y-%m-%d %H:%M:%S")&lt;/P&gt;

&lt;P&gt;|table startTime, endTime , mainprocessname,&lt;STRONG&gt;Status&lt;/STRONG&gt;`&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 09:19:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446822#M45440</guid>
      <dc:creator>hazemfarajallah</dc:creator>
      <dc:date>2019-08-16T09:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Visualize splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446823#M45441</link>
      <description>&lt;P&gt;hi @hazemfarajallah &lt;BR /&gt;
You can not see the status in your table because you are only doing a stats by mainprocessname.&lt;BR /&gt;
Now, if you add status to the stats like | stats earliest(when) AS startTime latest(when) AS endTime by mainprocessname,status what output do you get?&lt;BR /&gt;
Once again, remove all code after the stats and first verify that the stats is correct. it should give you output by mainprocess and status if the stats is correct&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 14:40:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446823#M45441</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2019-08-16T14:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Visualize splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446824#M45442</link>
      <description>&lt;P&gt;hi @hazemfarajallah &lt;BR /&gt;
Please let us know if your issue is solved or do you still need some more help on this?&lt;BR /&gt;
If you issue is solved, please let me know if I can convert the comment into an answer for your acceptance&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 14:57:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446824#M45442</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2019-08-19T14:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Visualize splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446825#M45443</link>
      <description>&lt;P&gt;Hi @suskisen &lt;BR /&gt;
Very big thanks, I started to follow your idea line by line and fixed almost all th problem &lt;BR /&gt;
thanks &lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 06:56:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-splunk/m-p/446825#M45443</guid>
      <dc:creator>hazemfarajallah</dc:creator>
      <dc:date>2019-08-20T06:56:14Z</dc:date>
    </item>
  </channel>
</rss>

