Configure time format

Updated at:
Copy as MD

Configure a custom time format for Logtail log collection instead of using the system time.

  1. Log on to the Simple Log Service console.

  2. In the Projects section, click the one you want.

    image

  3. In the left-side navigation pane, click Resources > Machine Groups. Find your machine group and click image > Details.

  4. In the Applied Logtail Configs section, click a Logtail configuration name.

  5. On the Logtail Configuration page, click Modify. Turn off Use System Time, set the time format, and click Save.

    Note

    Supported time formats are listed in Time formats.

    After you turn off this switch, you must also set the time field key.