Getting Data In

Splunking Postgres log events WITHOUT a timestamp

maverick
Splunk Employee
Splunk Employee

Currently, my postgres log events do not contain a timestamp, which makes it difficult for splunking, especially historical events located in .zip files.

Does anyone know how to enable the logging of the current timestamp within each postgres event so I can splunk it properly?

0 Karma

cnemelka
New Member

Look for the entry:

log_line_prefix

in your postgresql.conf file.

Documentation is with the entry.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...