vectordotdev / vectordotdev/vector

Target a different default config location on Windows

Open
#1,738 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

domain: cli domain: config have: should platform: windows
Dominant language
Rust
Stars
22.6k
Forks
2.3k
Avg merge
1d 7h
Merged PRs (30d)
146

Description

For windows builds we should have a different default config location as it's currently /etc/vector/vector.toml.

This is hopefully straight forward, surround https://github.com/timberio/vector/blob/master/src/types.rs#L11 with build flags and a different value for windows. Maybe %ProgramFiles(x86)%\Vector\config/vector.toml? (I'm not so hot on windows)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/types.rs at line 11 and inspect how the current /etc/vector/vector.toml default is defined. Check the project’s Rust build-flag conventions and Windows path expectations before choosing the alternate location. Done means non-Windows builds retain the current default while Windows builds use a Windows-appropriate config path.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.