Splunk Cloud Platform

argument uri is not supported by this handler splunk - Splunk Cloud

michael_vi
Path Finder

HI

I'm trying to run a search via CLI from federated Splunk instance > Splunk cloud.

Everything is configured correctly and I have access to all indexes that on Splunk Cloud from Federated Instance  via web interface

But when I'm trying to check connection via CLI on Federated Search instance

splunk display app -uri https://<splunk cloud uri>:8089

I get this error: 

argument uri is not supported by this handler splunk

Also, while trying to execute a search from Federated Search:

splunk search "index="some remote index on splunk cloud" | head 10"

I'm getting the following error:

ERROR: Unknown error for indexer: <splunk cloud>. Search results may be incomplete. If this occurs frequently , check on the peer.

 

Please assist 

Labels (1)
Tags (1)
0 Karma

michael_vi
Path Finder

An what about the other one...

My question is why remote search doesn't work

splunk search "index="some remote index on splunk cloud" | head 10"

I'm getting the following error:

ERROR: Unknown error for indexer: <splunk cloud>. Search results may be incomplete. If this occurs frequently , check on the peer.

 

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Have you checked the search log or splunkd.log on the remote search head?

---
If this reply helps you, Karma would be appreciated.
0 Karma

richgalloway
SplunkTrust
SplunkTrust

@michael_vi wrote:

I'm trying to run a search via CLI from federated Splunk instance > Splunk cloud.

Everything is configured correctly and I have access to all indexes that on Splunk Cloud from Federated Instance  via web interface

But when I'm trying to check connection via CLI on Federated Search instance

splunk display app -uri https://<splunk cloud uri>:8089

I get this error: 

argument uri is not supported by this handler splunk

That's because "-uri" is not an option to the display command.  Run splunk help display app to see the full syntax.

---
If this reply helps you, Karma would be appreciated.
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 ...