cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Is it possible to add more fields in Logging+Kibana?

mwoelm
Participant
721

Hi community,

does somebody know if it is possible to add new fields that are visible in Kibana? Technically, I know if SAP is using the ELK stack, it should be possible by adding a new field in log statement, map this in Logstash and put it into Elastic Search for Kibana.

I think this would be only possible to configure by SAP itself, but not for customers. But if I am wrong, it would be nice to know :D.

Best Regards,
Michael

View Entire Topic
samuelyang
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Michael,

You can create saved objects, including the fields definition by uploading a json file in Kibana.

A sample json file is provided as a reference in Centralized Logging on cxworks.

mwoelm
Participant
0 Kudos

Hi Samuel,
thx for your answer, but I think it is not what I am looking for. With the feature you mentioned, I think I can just export/import Kibana settings like filters dashboards, visible fields

But what I am thinking of is adding a complete new field, for example "useCase" or the sessionID to log message which is not part of the standard log configuration and make it visible in Kibana. At least this would need a change in Commerce, of course, because the Logger needs to be informed about how to fetch the data.

Disclaimer: I know that something like sessionID would probably offend against data privacy rules, but for example useCase not. But sessionID would probably be ok in DEV/Staging environments.