# Splunk-http-event-collector has no custom label

**URL:** <https://discourse.nodered.org/t/splunk-http-event-collector-has-no-custom-label/92933>\
**Category:** General\
**Created:** [6 November 2024 05:50 UTC](https://discourse.nodered.org/t/splunk-http-event-collector-has-no-custom-label/92933 "2024-11-06T05:50:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Icy](https://avatars.discourse-cdn.com/v4/letter/i/5fc32e/32.png) [@Icy](https://discourse.nodered.org/u/Icy)\
**Post date:** [6 November 2024 05:50 UTC](https://discourse.nodered.org/t/splunk-http-event-collector-has-no-custom-label/92933/1 "2024-11-06T05:50:21Z")

</div>

This node is a http-event collector node.  
[node-red-contrib-http-event-collector (node) - Node-RED](https://flows.nodered.org/node/node-red-contrib-http-event-collector)

Unlike most other nodes, we can't create a custom label, which is annoying when you have multiple saved configurations, all having the same title.

It is not always expedient to send data to the same endpoint, hence the custom configurations.

How do we submit a case to have the node updated to include a custom title for individual configurations?

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [6 November 2024 06:36 UTC](https://discourse.nodered.org/t/splunk-http-event-collector-has-no-custom-label/92933/2 "2024-11-06T06:36:48Z")

</div>

You should open an issue here [Issues · gdziuba/http-event-collector · GitHub](https://github.com/gdziuba/http-event-collector/issues) and ask for a feature request.

---

<div class="post-metadata">

**Author:** ![gregorius](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gregorius/32/73816_2.png) [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Post date:** [6 November 2024 09:19 UTC](https://discourse.nodered.org/t/splunk-http-event-collector-has-no-custom-label/92933/3 "2024-11-06T09:19:41Z")

</div>

Having a quick look at the package, the author seems to have forgotten to add the following html to the package:

```auto
    <div class="form-row">
        <label for="node-input-name" style="width:150px;">Name</label>
        <input type="text" id="node-input-name">
    </div>

```

That should be added in the [http-event-collector.html](https://github.com/gdziuba/http-event-collector/blob/7701d6abf93da03d88b292120efe8456e66f6a42/http-event-collector/http-event-collector.html#L24-L25), everything else seems to be defined: [name](https://github.com/gdziuba/http-event-collector/blob/7701d6abf93da03d88b292120efe8456e66f6a42/http-event-collector/http-event-collector.html#L6) property and the [label](https://github.com/gdziuba/http-event-collector/blob/7701d6abf93da03d88b292120efe8456e66f6a42/http-event-collector/http-event-collector.html#L15-L17) function for using the `name` property are all there.

I did try out that change and it did seem to work.

EDIT: you mean the config node, sorry the solution above is for the palette node. The config node is missing the [name property](https://github.com/gdziuba/http-event-collector/blob/7701d6abf93da03d88b292120efe8456e66f6a42/http-event-collector/http-event-config.html#L5-L12) and does not support `this.name` in the [label](https://github.com/gdziuba/http-event-collector/blob/7701d6abf93da03d88b292120efe8456e66f6a42/http-event-collector/http-event-config.html#L15) function. Plus the html field is also [missing](https://github.com/gdziuba/http-event-collector/blob/7701d6abf93da03d88b292120efe8456e66f6a42/http-event-collector/http-event-config.html#L23-L24) for the `name` property. So there the author seems to have forgotten name completely for the config node.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [4 February 2025 09:20 UTC](https://discourse.nodered.org/t/splunk-http-event-collector-has-no-custom-label/92933/4 "2025-02-04T09:20:25Z")

</div>

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