How to make post processing using Data Prepper

Versions (relevant - OpenSearch):

Describe the issue:

After reading Data Prepper documentation, i saw all processor options - these options are providing pre processing on the data before indexing - if i got it right.
how can i make some post processing after all the index creates, for example if i want to change the alias of the index.
there is such option? using the pipeline configuration?

Hey @Offir

Is this what your referring to?

Index Management --> Templates


Index Management --> Indices

Im not sure, what is this UI?
what i meant is if there is an option to add some line in the pipeline configuration in order to
change index alias. i define in the sink the index name - so to add an alias and remove the previous one if exist. Not using UI.

btw, there is post processing that can be apply on the index after it has been created using pipeline configuration? (similar to “processor” - but post processing ones).

Hey @Offir

Not that I know of. What I did was create a index template first, this would have my alias/shard/replica’s, etc… set. Then for example i set my sink like this.

    - opensearch:
        hosts: [ "" ]        
        username: "admin"
        password: "changeit"        
        cert:  /opt/opensearch-data-prepper/config/root-ca.pem        
        index: apache_logs-%{YYYY.MM.dd}

That was it, as for adding something in the pipe, not sure.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.