Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON extractor import not respecting 'flatten' option #1600

Closed
rikatz opened this issue Dec 2, 2015 · 1 comment
Closed

JSON extractor import not respecting 'flatten' option #1600

rikatz opened this issue Dec 2, 2015 · 1 comment

Comments

@rikatz
Copy link

rikatz commented Dec 2, 2015

While testing the JSON extractor, I did some changes on that and needed to export and import them.

Exporting the extractors where sucessfuly (as represented on the following code):

{
  "extractors": [
    {
      "condition_type": "none",
      "condition_value": "",
      "converters": [],
      "cursor_strategy": "copy",
      "extractor_config": {
        "flatten": false,
        "key_separator": ".",
        "list_separator": ", ",
        "kv_separator": "="
      },
      "extractor_type": "json",
      "order": 0,
      "source_field": "message",
      "target_field": "message",
      "title": "JSONMessage"
    }
  ],
  "version": "1.2.2 (91c7822)"
}

But when importing this, Graylog changes the option of 'flatten' (from extractor config) to true.

@joschi
Copy link
Contributor

joschi commented Dec 2, 2015

Duplicate of graylog-labs/graylog2-web-interface#1702.

@joschi joschi closed this as completed Dec 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants