#general

Recreating Old Ingestion Token

TLDR Zygimantas needed to recreate an old ingestion token. Ashish confirmed it's not possible but suggested replacing the old sled db directory which resolved the issue.

Powered by Struct AI

1

10
7mo
Solved
Join the chat
May 09, 2023 (7 months ago)
Zygimantas
Photo of md5-098803c03799a20348e45bca57279e86
Zygimantas
10:20 AM
Good day, is there a way to recreate old token?
Ashish
Photo of md5-9ed257a93c49bf4a991f872cc2ea4cda
Ashish
10:21 AM
do you mean ingestion token?
Zygimantas
Photo of md5-098803c03799a20348e45bca57279e86
Zygimantas
10:21 AM
yes
Ashish
Photo of md5-9ed257a93c49bf4a991f872cc2ea4cda
Ashish
10:22 AM
unfortunately no
10:23
Ashish
10:23 AM
in what scenarios would one want old token to be recreated?
10:23
Ashish
10:23 AM
trying to understand usecase
Zygimantas
Photo of md5-098803c03799a20348e45bca57279e86
Zygimantas
10:24 AM
i had to reinstall host os and old token is used in few thousands of servers 😄 yes, i can reconfig all of those with ansible
10:27
Zygimantas
10:27 AM
i might just replace new sled db directory with old one and it should work?
Ashish
Photo of md5-9ed257a93c49bf4a991f872cc2ea4cda
Ashish
10:30 AM
yes technically it should..but we didn’t try/test that
Zygimantas
Photo of md5-098803c03799a20348e45bca57279e86
Zygimantas
10:40 AM
it works, thank you for help

1

OpenObserve

OpenObserve is an open-source, petabyte-scale observability platform for the cloud native realm, offering a 10x cost reduction and 140x less storage use compared to competitors like Elasticsearch or Splunk. Built in Rust for exceptional performance, it offers comprehensive features like logs, metrics, traces, dashboards, and more | Knowledge Base powered by Struct.AI

Indexed 406 threads (74% resolved)

Join Our Community

Similar Threads

LDAP Support, Metrics Separation, and Ingestion Token Concerns

Serhii inquired about LDAP support, separating metrics from different Prometheus instances, and concerns on user-linked tokens. Prabhat answered questions and provided possible solutions. Ryan raised concerns on security risks and shared suggestions.

5

27
6mo
Solved

Ingest Token Function and Organization-Specific Limitations

Chris discovered that an ingest token is only specific to a user, not an organisation. Prabhat helped clarify the process, while Ashish acknowledged a bug with the root user which will be fixed in the next release.

10
3mo
Solved

Configuring Key/Token/Password for Log Ingestion in OpenObserve

Rocio inquired about setting the key/token/password for ingesting logs across multiple OpenObserve instances. Prabhat confirmed this was possible, recommended using the user id and password as the ingestion key, and provided a docker run command to set this up.

18
1mo
Solved

Discussing Cast/Schema Extension in 0.4.8 Update.

Mark inquired about a casting issue from 0.4.8 version, Prabhat suggested a workaround involving an environment variable, yet this didn't resolve the issue completely. Ashish recommended testing with a different dev image.

3

19
5mo

OpenObserve Storage Space Issue and Sled Corruption Recovery

Mike experienced storage space issues and sled corruption when using OpenObserve. Prabhat assisted in identifying the cause and suggested using a bigger PVC or an object store like S3 to resolve the problem. Recovery of sled remains unexplored.

6

37
6mo