fluent / fluent/fluent-bit

out_azure_blob: increase buffer dir name size to avoid truncating the directory

Open Beginner friendly
#12,062 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
8.1k
Forks
2k
Avg merge
4d 20h
Merged PRs (30d)
71

Description

**Is your feature request related to a problem? Please describe.**
Inside the `plugins/out_azure_blob/azure_blob.c` in the `azure_blob_store_init()` method, we set `char tmp[64];`. This is causing an issue for when the output directory names are too long, then become truncated.

**Describe the solution you'd like**
Could we make it longer to `1024` as is the case in other outputs like S3?

Contributor guide

Open the contributing guide

Research direction

Open plugins/out_azure_blob/azure_blob.c and locate the azure_blob_store_init() method and its tmp buffer declaration. Compare the requested size with the sizing used by other outputs such as S3. Done means directory names up to the intended size are no longer truncated.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cloud
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
88/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.