Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F5OS logging config #9

Open
MVogel91 opened this issue Jun 22, 2024 · 5 comments
Open

F5OS logging config #9

MVogel91 opened this issue Jun 22, 2024 · 5 comments
Labels
backlog add to our backlog enhancement New feature or request

Comments

@MVogel91
Copy link

Is your feature request related to a problem? Please describe.

F5OS Ansible modules currently don't support configuration of logging settings for the F5OS system.

Describe the solution you'd like

There should be a module to update log settings via Ansible.

Describe alternatives you've considered

Drop out of Ansible and configure through API, CLI or GUI.

Additional context

My customer operates a large landscape of iSeries to be swapped by rSeries. A unified onboarding through Ansible would heavily reduce the efforts

@MVogel91 MVogel91 added the enhancement New feature or request label Jun 22, 2024
@pgouband
Copy link

Hi,

Thanks for reporting. Added to the backlog and internal tracking ID for this request is: INFRAANO-1592 for syslog.

@pgouband pgouband added the backlog add to our backlog label Jun 26, 2024
@RemcoAA
Copy link

RemcoAA commented Sep 17, 2024

V1.11.0 has a f5os.logging module and I can add remote servers but remote forwarding configurations does not work even not with the example.

  • name: Configure Remote Forwarding
    f5os_logging:
    remote_forwarding:
    enabled: true
    logs:
    - facility: local0
    severity: informational
    - facility: authpriv
    severity: notice
    - facility: auth
    severity: emergency
    files:
    - name: ansible.log
    - name: audit/
    - name: boot.log

"msg": "{'ietf-restconf:errors': {'error': [{'error-type': 'application', 'error-tag': 'malformed-message', 'error-path': '/openconfig-system:system/logging/f5-openconfig-system-logging:host-logs/config', 'error-message': 'invalid value for: facility in /system/logging/f5-logging:host-logs/f5-logging:config/f5-logging:selectors/f5-logging:selector/f5-logging:facility'}]}}"

@MVogel91
Copy link
Author

@RemcoAA

Could you provide details about your F5OS software version?

Some features will only be available starting in certain versions.
Apart from "include_hostname" (1.8+), the options should execute fine with F5OS 1.7.

If you're running a lower version, you may need to verify the options available.

@RemcoAA
Copy link

RemcoAA commented Sep 17, 2024

I am running 1.7.0-8741

@MVogel91
Copy link
Author

@RemcoAA
There appears to be a bug in the module.

Since this issue (enhancement) was about the feature missing in total, may I ask you to raise another independent issue and properly tag it as a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog add to our backlog enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants