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

.fleet-actions index not found #246

Closed
simitt opened this issue Apr 16, 2021 · 5 comments · Fixed by #247
Closed

.fleet-actions index not found #246

simitt opened this issue Apr 16, 2021 · 5 comments · Fixed by #247
Assignees

Comments

@simitt
Copy link

simitt commented Apr 16, 2021

Running with the latest 7.13.0-SNAPSHOT (20201/04/16) the fleet-server logs an error that the .fleet-actions index cannot be found.

{"log.level":"info","index":".fleet-actions","ctx":"index monitor","@timestamp":"2021-04-16T10:15:54.05Z","message":"index not found, try again in 3s"}

How to reproduce

Start agent with docker container command, for example (change ES and Kibana configs accordingly)

docker run  \
  --env KIBANA_FLEET_SETUP=1  \
  --env FLEET_SERVER_ENABLE=1 \
  --env FLEET_ENROLL=1  \
  --env FLEET_INSECURE=1 \
  --env ELASTICSEARCH_HOST="http://elasticsearch:9200" \
  --env ELASTICSEARCH_USERNAME=admin \
  --env ELASTICSEARCH_PASSWORD=password \
  --env KIBANA_FLEET_HOST="http://kibana:5601" \
  --env KIBANA_FLEET_PASSWORD="password" \
  --env KIBANA_FLEET_USERNAME="admin"  \
  -p 8220:8220  \
  --rm docker.elastic.co/beats/elastic-agent:7.13.0-SNAPSHOT
@ruflin
Copy link
Contributor

ruflin commented Apr 16, 2021

My initial thought was that maybe a backport on the Elasticsearch side is missing as this index should be created by Elasticsearch. But it is here: https://github.com/elastic/elasticsearch/blob/7.x/x-pack/plugin/core/src/main/resources/fleet-actions.json

@aleksmaus
Copy link
Member

Do you want to change this to debug level log?

@aleksmaus
Copy link
Member

It is WAD. The index is not created until the first action document is indexed. And so far the .fleet-actions are only used for osquerybeat as far as I know.

@simitt
Copy link
Author

simitt commented Apr 19, 2021

ah ok, I believe logging as debug instaed of info would make more sense then.

@aleksmaus
Copy link
Member

sounds good. will update.

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

Successfully merging a pull request may close this issue.

3 participants