We have updated our Terms of Service, Code of Conduct, and Addendum.

What do the different fields mean in for the info events for the channel func:dns_lookup

Brian Yearwood
Brian Yearwood Posts: 15 ✭✭
channel: func:dns_lookup
cid: w11
cribl_postproc_pipe_ts: 1702407784.731
hits: 1399991
keys: 3
ksize: 50
level: debug
message: Cache stats
misses: 9
time: 2023-12-12T19:03:04.731Z
vsize: 240

Best Answer

  • Megan Davis
    Megan Davis Posts: 10
    Answer ✓

    hits - The number successful lookups from cache - this means OS dns lookup was skipped since value was cached.
    misses - The number of unsuccessful lookups from cache - this means OS dns lookup occurred since the value was not cached
    keys - The number of entires in cache
    ksize - The size of keys in memory
    vsize - The size of values in memory

Answers

  • Megan Davis
    Megan Davis Posts: 10
    Answer ✓

    hits - The number successful lookups from cache - this means OS dns lookup was skipped since value was cached.
    misses - The number of unsuccessful lookups from cache - this means OS dns lookup occurred since the value was not cached
    keys - The number of entires in cache
    ksize - The size of keys in memory
    vsize - The size of values in memory