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

Alloy faro.receiver log_format doesn't work #2925

Open
clementduveau opened this issue Mar 7, 2025 · 0 comments
Open

Alloy faro.receiver log_format doesn't work #2925

clementduveau opened this issue Mar 7, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@clementduveau
Copy link
Contributor

What's wrong?

Check this thread for full context.

Basically, Alloy complains that log_format is unrecognized in faro.receiver while it's documented and the argument is listed

Steps to reproduce

Install Alloy 1.7.1
Use the config block provided
Start Alloy

System information

No response

Software version

Alloy 1.7.1

Configuration

faro.receiver "default" {
  
  log_format = "json"
  
  server {
    listen_address = "0.0.0.0"
    listen_port = 12347
    cors_allowed_origins = ["*"]
  }
  output {
      logs   = [loki.process.default.receiver]
  }
}

Logs

error: /etc/alloy/config.alloy:6:5: unrecognized attribute name "log_format"
 | faro.receiver "default" {
 | log_format = "json"
 | ^^^^^^^^^^^^^^^^^^
 | server {ts=2025-03-07T08:35:36.369833726Z level=error msg="failed to start reporter" err="context canceled" interrupt received
@clementduveau clementduveau added the bug Something isn't working label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant