Fetch logs inactive for the device


#1

How to fetch logs for a device where its not sending any logs not manually go to date in dashboard and check select one by one but which minimize my work by simple query…thanks in advance


#2

Hi @Kh4nSalm4n, I was unable to understand your question. Could you please elaborate?


#3

You may create the widget in dashboard.
Steps:

  1. Use top device command on dinf console
  2. Store the output on store dnif_active_new
  3. Compare the Integrated Device with top device on exclusion using below query:
    _fetch $DeviceAddress, $GivenName from device where $Duration=24h limit 1000

_checkif lookup dnif_active_new join $DeviceAddress= $DevSrcIP str_compare $DeviceAddress eq $DevSrcIP exclude