Skip to content

Instantly share code, notes, and snippets.

@sathieu
Last active December 20, 2016 21:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sathieu/5a7e83d514638f396e17d462f13adee0 to your computer and use it in GitHub Desktop.
Save sathieu/5a7e83d514638f396e17d462f13adee0 to your computer and use it in GitHub Desktop.

Current WIP in lua_sandbox_extensions:

  • systemd socket activation support in input/udp #55
  • luaposix (needed for fsync, non-blocking file read, chown/chmod, ...) #37 #53
  • a rsylog like output #38
  • wall output #44
  • TZ support in syslog_file output. not easy:
  • os.date() uses the TZ environment variable.
  • but posix.setenv() is not thread-safe
  • alternatively, we can set TZ on the hindsight side, and use ''os.date("!%b %d %H:%M:%S", ts)'' (! means UTC, see http://lua-users.org/wiki/OsLibraryTutorial). Proposed as lua_sandbox#163

Next on my TODO list are:

Nice things I probably won't work on before long:

Merged :

  • update socket module to include socket.unix #31
  • send_decode_failures flag to udp_syslog inputs #33
  • File output to heka_debug #32
  • sytemd module #30
  • unixsock input, with systemd socket activation support #34
  • a kernel log input #35
  • compat module (needed by posix module) #36
  • TCP syslog input #27 Done by @trink
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment