Unable to store keystore password for elastic protocol in apm server configuraton

Hi,
I'm trying to store basic auth credentials in keystore, but i'm getting below error

Optional protocol and basic auth credentials.

protocol: "https"
username: "elastic"
password: "abcdefg"

root@test1:/usr/share/apm-server/bin# ./apm-server keystore add
error initializing beat: error loading config file: stat apm-server.yml: no such file or directory

Its giving same error for list, add, create, rm

Can someone please help.?

can you try without the ./ just apm-server keystore add if you installed via package it should find it.

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