URL:
https://github.com/SSSD/sssd/pull/5712
Title: #5712: Health and Support Analyzer - Add request log parsing utility
alexey-tikhonov commented:
"""
> > ```
> > (2021-09-21 10:31:47: CID #23: /usr/bin/sh
> > - User by ID
> > - UID:0@ldap.vm
> > - Service by name
> > - https
> > - Service by name
> > - https
> > - User by ID
> > - UID:0@ldap.vm
> > - User by ID
> > - UID:0@ldap.vm
> > ```
> >
> > I would expect the output to only list the timestampe, id and command. There
might be additional parameter to make it more verbose and print the rest of the
information.
What do you mean by `command` - "/usr/bin/sh" or "User by ID"?
My use case is "Something screwed up, I am able to reproduce it
with id command. Find CID of the id command that I executed."
How are you going to find "id command that I executed" if this is a busy host
with a lot of look ups in parallel?
Or when you are admin and your user complains "I wasn't able to login to that
host yesterday" but can't provide exact timestamp?
This is where having request+args would be handy.
But I don't mind:
- if this output will require `--verbose` option
- it will be a little bit more compact (perhaps request + args can fit a single line?)
And probably it makes sense to add a timestamp of a specific request in addition to client
connection timestamp (I'm judging based on quoted output, I didn't try the latest
version myself)?
"""
See the full comment at
https://github.com/SSSD/sssd/pull/5712#issuecomment-926016515