All Apps and Add-ons

Postgres input issue

marbalex
New Member

I'm traying to migrate data from a Postgres database to Splunk. I decided to use Splunk DB Connect to indexing all information, at first we had some problems to configure the data input but now it’s fixed. We installed a previous version and now we could correctly configure the input with the following configuration:

Rising type

This is an example of my table data:

alt text

With the next query:

SELECT *
FROM "fan." "fan." "val_fan_data."
WHERE fan_time > ?
ORDER BY fan_time ASC

And using the following configuration

alt text

I having data since April or May this year, when I want to run the query with a checkpoint value from 4.01.2019 throws the following error: org.postgresql.util.PSQLException: ERROR can't write over block number 235170 of the temp file. No splace left on the device.

We have tried to increase the timeout but apparently the problem is the lack of memory.

So I raised the date of the query to 8.01.2019 so that it could finish the query and finish the input configuration (loosing 2 or 3 months data) but we want to get absolutely all the information to be able to visualize it from the index.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...