Views page is not showing messages in Graylog 3.1.1

Hi All,

We are trying to discover new id based on the metricbeat data via pipeline rule and below is the rule I have added in pipeline,

rule "metricbeat_discover_id"
when
    to_string($message.metricset_name) == "process"
then
    let msg = create_message("", "");
    let timestamp = to_string($message.timestamp);
    let id = to_string($message.host_name);
    let type = "host";
    let keyword = "METRICBEAT";
    let metric_id = id;
    set_field("id", id, "", "", msg);
    set_field("type",type, "", "", msg);
    set_field("KEYWORD", keyword, "", "", msg);
    set_field("metric_id", metric_id, "", "", msg);
    set_field("@timestamp", timestamp, "", "", msg);
    route_to_stream("Discover_ID", "", msg);
end

The new id is getting discovered and routed to Discover_ID stream. Once its routed to stream I clicked on the Views -> Create View page and I am getting the below error in graylog UI,

image

Minified React error #152; visit https://reactjs.org/docs/error-decoder.html?invariant=152&args[]=f for the full message or use the non-minified dev environment for full errors and additional helpful warnings. 

Stack Trace:

Invariant Violation: Minified React error #152; visit https://reactjs.org/docs/error-decoder.html?invariant=152&args[]=f for the full message or use the non-minified dev environment for full errors and additional helpful warnings. 
    at http://graylog:9000/assets/vendor.91c91d4a31d54d96392a.js:18:422
    at a (http://graylog:9000/assets/vendor.91c91d4a31d54d96392a.js:18:525)
    at http://graylog:9000/assets/vendor.91c91d4a31d54d96392a.js:18:52051
    at va (http://graylog:9000/assets/vendor.91c91d4a31d54d96392a.js:18:58899)
    at Da (http://graylog:9000/assets/vendor.91c91d4a31d54d96392a.js:18:65689)
    at Fo (http://graylog:9000/assets/vendor.91c91d4a31d54d96392a.js:18:90682)
    at Vo (http://graylog:9000/assets/vendor.91c91d4a31d54d96392a.js:18:91066)
    at Ys (http://graylog:9000/assets/vendor.91c91d4a31d54d96392a.js:18:97953)
    at Ss (http://graylog:9000/assets/vendor.91c91d4a31d54d96392a.js:18:97333)
    at Ls (http://graylog:9000/assets/vendor.91c91d4a31d54d96392a.js:18:96354)
    at Zo (http://graylog:9000/assets/vendor.91c91d4a31d54d96392a.js:18:95228)
    at Object.enqueueSetState (http://graylog:9000/assets/vendor.91c91d4a31d54d96392a.js:18:44755)
    at g.b.setState (http://graylog:9000/assets/vendor.91c91d4a31d54d96392a.js:26:1665)
    at g.<anonymous> (http://graylog:9000/assets/app.24a1414e150e7e2e3ce2.js:102:260361)
    at a.n (http://graylog:9000/assets/vendor.91c91d4a31d54d96392a.js:10:1324)
    at a.emit (http://graylog:9000/assets/vendor.91c91d4a31d54d96392a.js:90:241068)
    at h.trigger (http://graylog:9000/assets/vendor.91c91d4a31d54d96392a.js:10:2199)
    at h._trigger (http://graylog:9000/assets/plugin/org.graylog.plugins.enterprise.EnterprisePlugin/plugin.org.graylog.plugins.enterprise.EnterprisePlugin.a2a8deba27f9467f4457.js:297:103158)
    at http://graylog:9000/assets/plugin/org.graylog.plugins.enterprise.EnterprisePlugin/plugin.org.graylog.plugins.enterprise.EnterprisePlugin.a2a8deba27f9467f4457.js:297:102553
    at s (http://graylog:9000/assets/app.24a1414e150e7e2e3ce2.js:102:224951)
    at P._settlePromiseFromHandler (http://graylog:9000/assets/app.24a1414e150e7e2e3ce2.js:102:198233)
    at P._settlePromise (http://graylog:9000/assets/app.24a1414e150e7e2e3ce2.js:102:199033)
    at P._settlePromise0 (http://graylog:9000/assets/app.24a1414e150e7e2e3ce2.js:102:199732)
    at P._settlePromises (http://graylog:9000/assets/app.24a1414e150e7e2e3ce2.js:102:201059)
    at http://graylog:9000/assets/app.24a1414e150e7e2e3ce2.js:102:154681

Component Stack:

    in f
    in s
    in Unknown
    in u
    in p
    in ConnectStoresWrapper[p] stores=highlightingRules
    in div
    in td
    in tr
    in tbody
    in O
    in Provider
    in table
    in div
    in div
    in div
    in span
    in t
    in ConnectStoresWrapper[t] stores=selectedFields,currentView
    in span
    in div
    in div
    in t
    in s
    in ConnectStoresWrapper[s] stores=colorRules
    in t
    in ConnectStoresWrapper[t] stores=view
    in Provider
    in div
    in t
    in DraggableCore
    in t
    in div
    in ReactGridLayout
    in t
    in o
    in t
    in div
    in div
    in t
    in t
    in ConnectStoresWrapper[t] stores=titles
    in div
    in t
    in span
    in v
    in ConnectStoresWrapper[v] stores=widgets
    in Unknown
    in ConnectStoresWrapper[Unknown/Anonymous] stores=fieldTypes,searches,viewMetadata,viewState
    in div
    in t
    in ExtendedSearchPage
    in ConnectStoresWrapper[ExtendedSearchPage] stores=executionState
    in Unknown
    in t
    in n
    in div
    in t
    in div
    in t
    in div
    in t
    in div
    in t
    in t
    in withRouter(t)
    in div
    in App
    in RouterContext
    in Router
    in h
    in t
    in n
    in AppFacade

Steps to reproduce this issue,

  1. Start metricbeat
  2. Send metricbeat data to beats input (5044)
  3. Create new pipeline and configure the above rule.
  4. Once the new data is discovered and route to the Discover_ID stream.
  5. Then click on Views -->Create Views in UI.
  6. You will find the above error on the graylog page.

Graylog Version: 3.1.1
Elasticsearch Version: 6.8.1
MongoDB Version: v3.6.14
Operating System: Ubuntu

Note:- If I don’t connect the metricbeat stream to pipeline then Views --> Create View page is loading fine and able to see messages.

Please correct me if I am doing anything wrong.

Thanks,
Ganeshbabu R

Attached the reference link,

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