splunk / splunk-javascript-logging

Splunk HTTP Event Collector logging interface for JavaScript
http://dev.splunk.com/view/splunk-logging-javascript/SP-CAAAE63
Apache License 2.0
85 stars 47 forks source link

Custom path for smart store. #74

Closed VishalPhenom closed 2 years ago

VishalPhenom commented 2 years ago

I am trying to set custom path with S3.

path should change dynamically as per the log request.

example: path : /splunk/log

here we want to change the path as per the request. we will push json object as below:

{
    "streams":
        [
            {
                "stream":
                {
                    "refNum":"something"
                },
                "values":
                [
                    ["1643323824886697738","Test"]
                ]
            }
        ]
}

now as per the above json object prefix should be /something, this "something" is refNum in json obj.

VishalPhenom commented 2 years ago

Can not use with python so closing this issue.