ppkarwasz commented on issue #3435:
URL: 
https://github.com/apache/logging-log4j2/issues/3435#issuecomment-2646110936

   > * **Splunk license cost**: splunk is charged by log size in current case.
   
   Looking at your example you implement some sort of tracing:
   
   > TID=8C6976E5B54104 company=TEST-COMPANY-1 companyName="Test Company One" 
hashUserId=8C6976E5B ipAddress=127.0.0.1 sessionId=45F0AB50 request=11
   
   Since most of those properties (`company`, `companyName`, etc.) are constant 
for the whole HTTP request, have you considered adding them as [attributes of 
the span](https://opentelemetry.io/docs/concepts/signals/traces/#spans) instead 
of printing them for each log event? This seems like a better strategy to 
reduce Splunk licensing costs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to