Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Examples do not work in distributed search #418

Closed
@Bre77

Description

@Bre77

The example code for Streaming Search commands, does not work in a distributed search environment, because the %app%/lib directory is not included in bundle replication.

sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "lib"))

The lib directory needs to instead be located inside bin, or a distsearch.conf should be included, or I guess a note about it has to be installed on the indexers just so it has access to Splunklib.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions