# Customize message format using macros and templates

The following sections describe how to customize the names of logfiles, and also how to use templates, macros, and template functions.

  * [Formatting messages, filenames, directories, and tablenames](../../docs/axosyslog-core/chapter-manipulating-messages/customizing-message-format/concepts-macro/index.md) explains how macros work.

  * [Modify messages using rewrite rules](../../docs/axosyslog-core/chapter-manipulating-messages/modifying-messages/index.md) describes how to use macros and templates to format log messages or change the names of logfiles and database tables.

  * [Macros of AxoSyslog](../../docs/axosyslog-core/chapter-manipulating-messages/customizing-message-format/reference-macros/index.md) lists the different types of macros available in AxoSyslog.

  * [Using template functions](../../docs/axosyslog-core/chapter-manipulating-messages/customizing-message-format/template-functions/index.md) explains what template functions are and how to use them.

  * [Template functions of AxoSyslog](../../docs/axosyslog-core/chapter-manipulating-messages/customizing-message-format/reference-template-functions/index.md) lists the template functions available in AxoSyslog.




* * *

[Formatting messages, filenames, directories, and tablenames](../../docs/axosyslog-core/chapter-manipulating-messages/customizing-message-format/concepts-macro/index.md)

[Templates and macros](../../docs/axosyslog-core/chapter-manipulating-messages/customizing-message-format/configuring-macros/index.md)

[Date-related macros](../../docs/axosyslog-core/chapter-manipulating-messages/customizing-message-format/date-macros/index.md)

[Hard versus soft macros](../../docs/axosyslog-core/chapter-manipulating-messages/customizing-message-format/macros-hard-vs-soft/index.md)

[Macros of AxoSyslog](../../docs/axosyslog-core/chapter-manipulating-messages/customizing-message-format/reference-macros/index.md)

[Using template functions](../../docs/axosyslog-core/chapter-manipulating-messages/customizing-message-format/template-functions/index.md)

[Template functions of AxoSyslog](../../docs/axosyslog-core/chapter-manipulating-messages/customizing-message-format/reference-template-functions/index.md)

[Modifying the on-the-wire message format](../../docs/axosyslog-core/chapter-manipulating-messages/customizing-message-format/on-the-wire-format/index.md)

Last modified June 27, 2023: [Update paths to follow-up moving the files (6585a5b1)](<https://github.com/axoflow/axosyslog-core-docs/commit/6585a5b156244e39bb831bf4e8289529f30dea0f>)