ML to predict server health based on text logs.

Discussion in 'Machine Learning, Deep Learning, and AI' started by Nabi, Jun 9, 2018.

  1. Nabi

    Nabi New Member

    Joined:
    Jun 9, 2018
    Messages:
    2
    Likes Received:
    0
    Hello,
    Can any one please help to create ML in python to predict if server has issue based on this log:

    2018-06-07 18:25:48 Server Health message received for localhost
    2018-06-07 18:30:50 Server Health message received for localhost
    2018-06-07 18:35:47 Server Health message received for localhost
    2018-06-07 18:40:39 Server Health message received for localhost
    2018-06-07 18:48:43 Server Health message received for localhost
    2018-06-07 18:53:43 Server Health message received for localhost
    2018-06-07 18:58:39 Server Health message received for localhost
    2018-06-07 19:03:35 Server Health message received for localhost
    2018-06-07 19:09:11 Server Health message received for localhost
    2018-06-07 19:16:30 Server Health message received for localhost
    2018-06-07 19:21:56 Server Health message received for localhost


    ======================

    Every health message suppose to appear in the log every 5 min. In case it appears in LESS or MORE than 5 min then it means the server has issue.

    Thanks
     
    #1
  2. manxam

    manxam Active Member

    Joined:
    Jul 25, 2015
    Messages:
    164
    Likes Received:
    26
    I'm not certain this is machine learning..
    Can you not just wait for a line of text, start a timer, and then call a function if the next line of text arrives <> 5 minutes?
     
    #2
  3. Nabi

    Nabi New Member

    Joined:
    Jun 9, 2018
    Messages:
    2
    Likes Received:
    0
    Yeah, but i am trying to see if i can use ML for that. So the ML will learn from this log what is good and what is bad, and based on that can predict if there is an issue...
     
    #3

Share This Page