On 17 Mar 08:33, Vamshi Bhargav wrote:
> Directly i can use on the server where i have installed prometheus ?
This is a flag you need to set when starting prometheus, so you will
need to stop prometheus and restart prometheus with that flag.
We can't help you more without knowing more about the environment and the way
prometheus was installed.
>
> On Wednesday, March 17, 2021 at 9:00:31 PM UTC+5:30 Julien Pivotto wrote:
>
> > Hello,
> >
> > You can use the command line flag --storage.tsdb.retention.time=
> >
> > e.g.
> >
> > prometheus --storage.tsdb.retention.time=60d
> >
> >
> > Regards,
> >
> > On 17 Mar 08:28, Vamshi Bhargav wrote:
> > > Hello Team,
> > >
> > > Looking how i can get the 30 or 60days logs on the prometheus, as of now
> > > getting by default 15days data.
> > >
> > > Now we have a requirement of 60days. Is there any config file where i
> > can
> > > update on my prometheus server and then i can get the logs.
> > > OR
> > >
> > > is there any grafana query to be update on the prometheus dashboard so
> > that
> > > i can pull the data.
> > >
> > > Please help me on this. This is very critical concern now.
> > > Please reach out to me on
+91 8121885379 <+91%2081218%2085379>
> To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/e6990ba7-1546-495a-81fe-4c2206281c6fn%40googlegroups.com.
--
Julien Pivotto
@roidelapluie