Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track timestamp in log files as YYYY-MM-DD HH:MM:SS #58

Closed
d2inco opened this issue Sep 1, 2015 · 4 comments
Closed

Track timestamp in log files as YYYY-MM-DD HH:MM:SS #58

d2inco opened this issue Sep 1, 2015 · 4 comments

Comments

@d2inco
Copy link

d2inco commented Sep 1, 2015

Made modifications to track the timestamp in the logfiles as YYYY-MM-DD HH:MM:SS
'field' parameter 'H' adds this capability.

(figured out how to do a pull request, i will this to you in a bit)

@thus
Copy link
Collaborator

thus commented Oct 16, 2015

Closing this issue, since the pull request was accepted.

@thus thus closed this as completed Oct 16, 2015
@kkplein
Copy link

kkplein commented Nov 15, 2016

Not sure if replying in this closed thread is the right way.... but... how do we enable this behaviour? Now we're getting timestamps like this:
1479213824.636482||10.19.231.6||192.x.y.z||IN||a1402.dspw40.akamai.net.||A||77.67.4.50||13||1
and we would like YYYY-MM-DD HH:MM:SS

@d2inco
Copy link
Author

d2inco commented Nov 15, 2016

passivedns -h shows you help text. Use a "H" in your "-f" (fields) parameter fot YMD-HMS format timestamp.

@kkplein
Copy link

kkplein commented Nov 16, 2016

Hi d2imco,

Thanks, the -h switch turned out to be very useful! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants