mingrammer / flog

:tophat: A fake log generator for common log formats
MIT License
1.12k stars 135 forks source link

Print stacktraces #32

Open manuelprinz opened 4 years ago

manuelprinz commented 4 years ago

Hi, thanks for this great project!

It would be really nice if one could generate a flog with random stacktraces of the most common programming languages, such as Java, Python, Ruby, etc. This would be incredibly useful to test the configuraiton of data collection software such as Fluentd or Logstash.

Unfortunately I do not know and Go (yet), so I cannot provide a PR.

mingrammer commented 4 years ago

Hi.

Could you please give me some examples of testing the stacktraces for Fluentd or Logstash?

jamtur01 commented 4 years ago

Some examples:

Java stacktrace: https://gist.github.com/superciccio/b6affdb144009bd5979dcd8dfcb436f7 Ruby: https://gist.github.com/bbozo/6f97a19f34d8b8961db8 Python: https://gist.github.com/rekennelly/c73a2bf22543d03dd10a739e53ce0edb

brianvoe commented 3 years ago

If there is anything I can add to https://github.com/brianvoe/gofakeit to help let me know.