# Views page is not showing messages in Graylog 3.1.1

**URL:** <https://community.graylog.org/t/views-page-is-not-showing-messages-in-graylog-3-1-1/12174>\
**Category:** Graylog Central (peer support)\
**Tags:** pipeline-rules, route-to-streampl\
**Created:** [October 1, 2019, 5:37am UTC](https://community.graylog.org/t/views-page-is-not-showing-messages-in-graylog-3-1-1/12174 "2019-10-01T05:37:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ganeshbabu](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@Ganeshbabu](https://community.graylog.org/u/Ganeshbabu)\
**Post date:** [October 1, 2019, 5:37am UTC](https://community.graylog.org/t/views-page-is-not-showing-messages-in-graylog-3-1-1/12174/1 "2019-10-01T05:37:09Z")

</div>

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,

```auto
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](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/3/3689eefba75eac3d2718893f41dae3f746f76860.png)](https://user-images.githubusercontent.com/20658619/65898966-51683f80-e3d0-11e9-93e1-91256fb6fdc4.png)

```auto
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

---

<div class="post-metadata">

**Author:** ![Ganeshbabu](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@Ganeshbabu](https://community.graylog.org/u/Ganeshbabu)\
**Post date:** [October 2, 2019, 3:19pm UTC](https://community.graylog.org/t/views-page-is-not-showing-messages-in-graylog-3-1-1/12174/2 "2019-10-02T15:19:49Z")

</div>

Attached the reference link,

> <https://github.com/Graylog2/graylog2-server/issues/6511>

> <https://github.com/Graylog2/graylog2-server/pull/6526>

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [October 16, 2019, 3:19pm UTC](https://community.graylog.org/t/views-page-is-not-showing-messages-in-graylog-3-1-1/12174/3 "2019-10-16T15:19:49Z")

</div>

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