> Source: [sk171138](https://support.checkpoint.com/results/sk/sk171138)

# sk171138 - <code> "sed: invalid option -- E" </code>- Log exporter configuration fails with this error message

| Property | Value |
|----------|-------|
| Solution ID | sk171138 |
| Date Created | 2021-02-23 |
| Last Modified | 2022-04-20 |
| Technical Level | General |
| Products | Security Management Server |
| Versions | R82.10, R82, R81.20, R82.20 |
| OS | Gaia |
| Platform | VMWare ESX |

## Symptoms

- Adding log exported configuration fails with this error message: `
`  
`
[Expert@Hostname:0]# cp_log_export add name test target-server target_ip target-port port_number protocol tcp/udp format syslog/splunk etc..
`  
`sed: invalid option -- E
`  
`Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
`

## Cause

The specific version of Log exporter relies on the *'sed'* command with *-E* flag to update the configuration files.

## Solution

[Contact Check Point Support](https://www.checkpoint.com/support-services/contact-support/) to get a Hotfix for this issue.   
A Support Engineer will make sure the Hotfix is compatible with your environment before providing the Hotfix.   
For faster resolution and verification, please collect [CPinfo](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92739) files from the Security Management and Security Gateways involved in the case.

**Hotfix installation instructions:**   
Refer to [sk168597 - How to install a Hotfix](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk168597).

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
