Splunk Search

ES8 + Mission Control Usage rest API

Nico99
Explorer

Hello everyone,

We have recently started using ES8 with Mission Control and we would like to use Mission Control's API to export information.

With the help of a POSTMAN, if we try to retrieve information from an investigation with https://SPLUNK:8089/servicesNS/nobody/missioncontrol/v1/incidents/ES-00001, we get the information.

Now in SPLUNK, if we pass the request | rest /servicesNS/nobody/missioncontrol, we get an answer.
However, if we try | rest /servicesNS/nobody/missioncontrol/v1/incidents/ES-00001, we don't get an error message but 0 result. My user has admin rights.

Does anyone have any idea why?
Did we miss something?

Thank you for the help!!!

0 Karma
1 Solution

livehybrid
SplunkTrust
SplunkTrust

Hi @Nico99 

If you're using SPL to get the incident then you could use the following instead:

| mcincidentbyid id=ES-00001

 

🌟 Did this answer help you? If so, please consider:

  • Adding kudos to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing.

View solution in original post

0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @Nico99 

If you're using SPL to get the incident then you could use the following instead:

| mcincidentbyid id=ES-00001

 

🌟 Did this answer help you? If so, please consider:

  • Adding kudos to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing.

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 ...