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

normalize mac addresses in logging #554

Open
ilawjr opened this issue Aug 23, 2024 · 0 comments
Open

normalize mac addresses in logging #554

ilawjr opened this issue Aug 23, 2024 · 0 comments

Comments

@ilawjr
Copy link

ilawjr commented Aug 23, 2024

Version:
0.9.13-1

Description:
We should normalize how we log mac addresses (deviceid log field). This will simplify log ingestion and search in elasticsearch.
Depending on how a user requests a mac, we can log mac addresses in at least 3 different ways:

"deviceid":"mac:112233445566"
"deviceid":"mac:11-22-33-44-55-66"
"deviceid":"mac:11:22:33:44:55:66"

We also log according to the case provided by the user:

""deviceid":"mac:11:22:33:44:55:bB"

We should log mac addresses in one unified way. For example, we could remove all delimiters and change to lower case

mac:1122334455bb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant