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

Friendly Field's Name in Tables/Widgets #9507

Open
chalfling opened this issue Nov 16, 2020 · 4 comments
Open

Friendly Field's Name in Tables/Widgets #9507

chalfling opened this issue Nov 16, 2020 · 4 comments

Comments

@chalfling
Copy link

What?

Enable rename field's name text to better table visualization.

Original fields:
Screenshot_20201116_165711
Renamed fields:
Screenshot_20201116_170257

Or another example:
Original:
Screenshot_20201116_170431
Changed:
Screenshot_20201116_170742

Why?

I believe that this way the presentation of the data is simpler and clearer

Your Environment

  • Graylog Version: 3.3.8
  • Elasticsearch Version: 6.8.7
  • MongoDB Version: 4.2
  • Operating System: FreeBSD 12.1
@chalfling chalfling changed the title Friendly Field Name in Tables/Widgets Friendly Field's Name in Tables/Widgets Nov 16, 2020
@chalfling
Copy link
Author

Today I only can change "count()" field's name

@H2Cyber
Copy link

H2Cyber commented Nov 17, 2020

upvote from me, would be heavely useful !
Field names are more often than not cryptic to dashboard users, and sometimes really long (I am looking at you, WinlogBeat ! :) ). Pipelines are a possibility to rename them, but having the flexibility to rename in widgets would be a huge plus.

@chalfling
Copy link
Author

I think I can build some workaround with javascript like this:

$("[data-widget-id='WIDGET-HASH'] table tr").children[0].firstChild.firstChild.innerHTML = "Common Name";
$("[data-widget-id='WIDGET-HASH'] table tr").children[1].firstChild.firstChild.innerHTML = "Group Name";
$("[data-widget-id='WIDGET-HASH'] table tr").children[2].firstChild.firstChild.innerHTML = "Involved User";

Can someone point where can I call my javascript to run?

Thank you!

@disassembledd
Copy link

Will anyone be assigned to this? That would be great! The current workaround is a tedious process of removing and renaming fields via a pipeline. In the case of something like WinlogBeat, to @H2Cyber's point, this would honestly be ridiculous to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants