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

setup.dashboard.index should respect elasticsearch.output.index #6926

Closed
jordansissel opened this issue Apr 23, 2018 · 5 comments
Closed

setup.dashboard.index should respect elasticsearch.output.index #6926

jordansissel opened this issue Apr 23, 2018 · 5 comments
Labels
:Dashboards enhancement libbeat needs_team Indicates that the issue/PR needs a Team:* label Stalled

Comments

@jordansissel
Copy link
Contributor

Tested on auditbeat 6.2.4

When setting elasticsearch.output.index, the default setup.dashboard.index pattern that gets used is still auditbeat-*.

Here's the scenario I went through:

When changing the index name:

output.elasticsearch:
  index: "foo"

Beats setup will tell me:

Exiting: setup.template.name and setup.template.pattern have to be set if index name is modified.

So I follow the instructions:

setup:
  template.name: "auditbeat"
  template.pattern: "*-auditbeat-*"

Then run setup again:

# auditbeat setup -c /tmp/auditbeat.yml -e
...
2018-04-23T23:10:09.706Z        INFO    instance/beat.go:583    Kibana dashboards successfully loaded.

However, when viewing the dashboards, all the dashboards/visuals appear to point at auditbeat-* instead of my configured *-auditbeat-*.

To work around this, I added:

setup:
  template.name: "auditbeat"
  template.pattern: "*-auditbeat-*"
  template.enabled: true
  dashboards.index: "*-auditbeat-*"   # this is required.
@Dumbaz
Copy link

Dumbaz commented Nov 12, 2018

I can confirm this behavour with filebeat version 6.4.2 (amd64), libbeat 6.4.2 [e193f6d68b25b7ddbe3a3ed8d60bc07fea1ef800 built 2018-09-26 12:42:46 +0000 UTC]

Would like to see this improved as well.

@RealLinkers
Copy link

This is still a thing on 7.2.0, I am unable to populate the kibana custom index pattern, although it does show the correct index on visualization.

@botelastic
Copy link

botelastic bot commented Aug 4, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@botelastic botelastic bot added Stalled needs_team Indicates that the issue/PR needs a Team:* label labels Aug 4, 2020
@botelastic
Copy link

botelastic bot commented Aug 4, 2020

This issue doesn't have a Team:<team> label.

@kvch
Copy link
Contributor

kvch commented Aug 4, 2020

Fixed by #17749
Feel free to reopen if the problem persist on newer versions.

@kvch kvch closed this as completed Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Dashboards enhancement libbeat needs_team Indicates that the issue/PR needs a Team:* label Stalled
Projects
None yet
Development

No branches or pull requests

6 participants