Knowledge Management

[SmartStore] 502 bad request when attempting to connect

emallinger
Communicator

Hello,

Does anyone have a suggestion as to why I can't seem to connect to my S3 storage :

Here's the log :

S3Client - command=put transactionId=0x7f689102dc00 rTxnId=0x7f6891034100 status=completed success=N uri=https://--------.fr/bucket_name/all_indexes/_metrics/db/73/ae/19~BD80BC05-71FE-4234-AE23-58B4ED6CA82D/guidSplunk-BD80BC05-71FE-4234-AE23-58B4ED6CA82D/Sources.data statusCode=502 statusDescription="Bad Gateway"

I've successfully used a similar configuration in splunk on another machine with a zenko container.
Here I'm trying to connect to a "real" S3 scality ring via a VS entry who is acting as a load balancer.
I've got a couple access/secret key with write permission.
And I access the S3 storage using the same machine but in CLI with "aws s3" command.

Here's my indexes.conf

[volume:remote_store]
storageType = remote
path = s3://bucket_name/all_indexes/
remote.s3.endpoint = https://myendpoint.fr
remote.s3.access_key = access_key (replaced)
remote.s3.secret_key = secret_key
maxVolumeDataSizeMB = 10000000

[default]
remotePath = volume:remote_store/$_index_name
repFactor = auto

Do you have any suggestion ?
Is my conf faulty somewhere ?
Could the endpoint VS be the cause ? => Does it need to have "http profil" = none ?

Thank you in advance for your ideas and clues.

Regards,
Ema

Labels (1)
0 Karma
1 Solution

emallinger
Communicator

Some necessary parameters were missing, specific to our local on premises implementation of s3.

View solution in original post

0 Karma

emallinger
Communicator

Some necessary parameters were missing, specific to our local on premises implementation of s3.

0 Karma

matjahsonnveld
Loves-to-Learn Lots

@emallinger Do you remember which specific parameters were missing? Running into the same problem while using IBM COS as S3 SmartStore.

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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...