---
title: Configure NetWitness MetaExport
description: You must configure the Logstash configuration file to process the NetWitness Platform events.  Run the following commands cd /etc/logstash/conf.d/meta
---

[Skip to content](https://mydev.netwitness.com/knowledge-base/configurenetwitnessmetaexport#main-content)

![NW Logo](https://mydev.netwitness.com/hs-fs/hubfs/Portal-Partner%20Program/AssetFiles/NW%20Logo%20(2).png?width=180&height=32&name=NW%20Logo%20(2).png)

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

Open main navigation

Close main navigation

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [NetWitness Knowledge Base](https://mydev.netwitness.com/knowledge-base?hsLang=en)
2. [Documentation](https://mydev.netwitness.com/knowledge-base/documentation?hsLang=en)

April 7, 2026

# Configure NetWitness MetaExport

You must configure the Logstash configuration file to process the NetWitness Platform events.

1. Run the following commands
   
   cd /etc/logstash/conf.d/metaexport/
2. Modify **metaexport\_pipelinename.conf** file according to the need.
3. A Logstash configuration file can have three separate sections for each type of plugin that you want to add to the event processing pipeline. The first section is for Input plugin (NetWitness Export Connector), the second section is for Filter plugin (optional) and the third section is for syslog Output plugin. To configure the NetWitness Export Connector plugin, add the parameter settings in the first section of the Logstash configuration file.

The following is an example of NetWitness Export Connector with block of required and optional parameter settings which fetches data from a decoder.

input

{

netwitness\_export\_connector

{

\# Mandatory Fields.

name =\> "  "

host =\> "  "

username =\> "  "

password =\> "${KEY}"

decoder\_type =\> "decoder"

\# Optional Fields.

meta\_include =\> ""

meta\_exclude =\> ""

query =\> ""

minutes\_back =\> 0

multi\_value =\> ""

start\_session =\> 0

\# SSL Configuration.

\# ssl\_enable =\> true

\# ssl\_certificate\_path =\> "/etc/pki/nw/trust/truststore.pem"

\# ssl\_client\_certificate\_path =\> "/etc/pki/nw/node/node-cert.pem"

\# ssl\_key\_path =\> "/etc/pki/nw/node/node-key.pem"

}

}

Following are the parameters accepted by NetWitness Export Connector.

- **Parameter:**
  
  name
- **Description:**
  
  A unique name to identify the logstash export connector pipeline
- **Parameter Type:**
  
  String
- **Default Value:**
  
  N/A

- **Parameter:** host
- **Description:** IP address or hostname of the Decoder (mandatory)
- **Parameter Type:**
  
  String
- **Default Value:**
  
  N/A

- **Parameter:** username
- **Description:** Username used to access the Decoder (mandatory)
- **Parameter Type:** String
- **Default Value:**
  
  N/A

- **Parameter:**
  
  password
- **Description:**
  
  LogStash KeyStore key for accessing Decoder (mandatory).
- **Parameter Type:**
  
  String
- **Default Value:**
  
  ${KEY}

- **Parameter:** decoder\_type
- **Description:** Accepts only 'decoder' (mandatory)
- **Parameter Type:** String
- **Default Value:** decoder

- **Parameter:**
  
  meta\_include
- **Description:**
  
  Aggregates only the meta keys that are added in this parameter setting. Accepts comma separated values (csv) format
- **Parameter Type:**
  
  String
- **Default Value:**
  
  NIL

- **Parameter:** meta\_exclude
- **Description:** Excludes the meta keys that are added in this parameter setting from aggregation. Accepts comma separated values (csv) format
- **Parameter Type:** String
- **Default Value:** NIL

- **Parameter:**
  
  query
- **Description:**
  
  Takes any NetWitness Platform query as Input.
  
  **Note:** Only Indexed meta key must be the part of the query. For example, select \* where country.src='Country Name'
- **Parameter Type:**
  
  String
- **Default Value:**
  
  Select \*

- **Parameter:**
  
  minutes\_back
- **Description:**
  
  How far back in time should we go for a fresh start. This field accepts the values in minutes.
- **Parameter Type:**
  
  Number
- **Default Value:**
  
  0

- **Parameter:** multi\_value
- **Description:** Metas to be treated as multiple values. For example, action, alias.host, alias.ip, alias.ipv6, email and username.
- **Parameter Type:** String
- **Default Value:** N/A

- **Parameter:** start\_session
- **Description:** Session from which the aggregation starts. Setting the value to 0 starts the aggregation from last.session.id in the Decoder
- **Parameter Type:** Number
- **Default Value:** 0

**Filter Configuration (Optional)**:

You can configure the Logstash Filter plugin to add, remove, or modify the specific input events from the Decoder. To configure the Filter plugin, add the Filter plugin parameter settings in the second section of the Logstash configuration file . This plugin modifies the events based on the parameter settings. You can use the existing standard Logstash filter plugins for adding the parameter settings to the configuration file.

For more information on existing Logstash standard filter plugins, see [Filter Plugins](https://www.elastic.co/guide/en/logstash/8.10/filter-plugins.html).

The configuration of the plugin must consist of the plugin name followed by a block of parameter settings for that plugin.

Example:

\# Example

filter {

if \[country\_src\] == "country name" {

\# If this condition holds true, the entire session will be dropped.

drop {}

}

}

Output Configuration:

You must configure the Logstash syslog Output plugin to send the input events to a third party application.

The syslog Output plugin sends the processed event data to the third-party application where the Syslog receiver is configured.

For more information on existing Logstash standard output plugins, see [Output Plugins](https://www.elastic.co/guide/en/logstash/8.10/output-plugins.html).

Example:

output

{

syslog

{

id =\> "plugin\_id"

host =\> "  "

port =\> 514

sourcehost =\> “%{did}”

protocol =\> "tcp"

rfc =\> "rfc5424"

codec =\> "json"

#ssl\_cert =\> “/path/to/server.crt”

#ssl\_key =\> “path/to/server.key”

#ssl\_cacert =\> “path/to/ca.crt”

}

}

- **Parameter:** id
- **Description:** Add a unique ID to the plugin configuration. If no ID is specified, Logstash will generate one. It is strongly recommended to set this ID in your configuration. This is particularly useful when you have two or more plugins of the same type.

- **Parameter:** host
- **Description:** Syslog server address to connect to the third party application such as splunk, palo alto cortex and so on.

- **Parameter:**
  
  port
- **Description:**
  
  Syslog server port to connect to the third party app. Use 6154 for the ssl connection.

- **Parameter:** sourcehost
- **Description:** Source host for syslog message. The default value for this is the Decoder ID.

- **Parameter:**
  
  protocol
- **Description:**
  
  Syslog server protocol. Use ssl-tcp for the ssl connection.

- **Parameter:** rfc
- **Description:** Syslog message format. You can choose between rfc3164 or rfc5424.

- **Parameter:**
  
  codec
- **Description:**
  
  Encodes the data to the json format if set to json.

- **Parameter:** ssl\_cacert
- **Description:** The SSL CA certificate, chainfile or CA path. The system CA path is automatically included.

- **Parameter:**
  
  ssl\_cert
- **Description:**
  
  The SSL certificate path.

- **Parameter:** ssl\_key
- **Description:** There is no default value for this setting.

## Configure Multiple Pipelines:

Follow these steps to configure multiple pipelines.

1. In order to create the multiple pipelines, Copy the file with the name **metaexport\_pipelinename.conf** inside the /etc/logstash/ to /etc/logstash/conf.d/metaexport with different name.The name of the configuration files should be unique.
   
   If you need to run more than one pipeline in the same process, Logstash provides a way to do this through a configuration file called pipelines.yml. This file must be placed in the /etc/logstash/ folder and follows this structure:
   
   \- pipeline.id: pipeline-1
   
   path.config: "/etc/logstash/conf.d/metaexport/metaexport\_pipelinename.conf"
2. Add one more configuration block to the same **pipelnes.yml** file with unique pipeline ID and the path to the newly created configuration file.
   
   Example:
   
   \- pipeline.id: pipeline-1
   
   path.config: "/etc/logstash/conf.d/metaexport/metaexport\_pipelinename.conf"
   
   \- pipeline.id: pipeline-2
   
   path.config: "/etc/logstash/conf.d/metaexport/metaexport\_pipelinename1.conf"
   
   *For more information on multiple pipelines, See [Multiple Pipelines](https://www.elastic.co/guide/en/logstash/7.16/multiple-pipelines.html).*

[![Netwitness Logo](https://mydev.netwitness.com/hs-fs/hubfs/Quote%20Template%20-%20NW%20Logo/Netwitness%20Logo.png?width=158&height=42&name=Netwitness%20Logo.png "Netwitness Logo")](https://mydev.netwitness.com/?hsLang=en)

<https://www.linkedin.com/company/netwitness-platform/> <https://www.youtube.com/@netwitness>

Copyright © 2026, NetWitness LLC. All rights reserved.

[NetWitness Platform](https://www.netwitness.com/)

[Acceptable Use Policy](https://www.netwitness.com/wp-content/uploads/Acceptable-Use-Policy-092022.pdf) [Privacy Statement](https://www.netwitness.com/wp-content/uploads/NetWitness-Privacy-Statement-07292024.pdf)

![NetWitness Logo](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/netwitness-logo-RGB-white%201.png)

[![LinkedIn](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/linkedin.png)](https://www.linkedin.com/company/netwitness-platform/) [![YouTube](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/Youtube.jpg)](https://www.youtube.com/@netwitness)

© 2026 NetWitness LLC. All rights reserved.