Skip to content

In the script server download a custom file in logs #5

@Gamma-Software

Description

@Gamma-Software

I could not make the script work. The config file is below

{
  "name": "Download logs",
  "script_path": "./scripts/download_logs.sh",
  "group": "\ud83d\udcbbAdministration",
  "description": "This script downloads the logs of the server",
  "allowed_users": [
    "*"
  ],
  "output_files": [
    "/var/log/${file}"
  ],
  "parameters": [
    {
      "name": "file",
      "param": "-f",
      "type": "server_file",
      "file_dir": "/var/log",
      "excluded_files": [
        "auth*",
        "/var/**/user*"
      ]
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions