All Apps and Add-ons

Error in creating Service NOW ticket

ab374134
Explorer

Hi Team,

I am trying to create a ticket with SNOWINCIDENTSTREAM command but it is giving me a error stating "Failed to create ticket".

What could be the possible reason for the same?

0 Karma

ab374134
Explorer

Still the issue is there.

It is not able to create any new ticket.

alt text

0 Karma

ansif
Motivator

So your base search has all required arguments for a servicenow ticket?

0 Karma

ansif
Motivator

Please post the search query.

Example:

sourcetype="CPURates" earliest=-5m latest=now
| stats avg(CPU) as CPU last(_time) as time by host
| where CPU>=95 | eval contact_type="email"
| eval ci_identifier=host | eval priority="1"
| eval category="Software" | eval subcategory="database"
| eval short_description="CPU on ". host ." is at ". CPU
| snowincidentstream

For incidents, the required arguments are category, short_description, and contact_type. For events, the required arguments are node, resource, type, and severity.

http://docs.splunk.com/Documentation/AddOns/released/ServiceNow/Usestreamingcommands

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!

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...

A Four Part Event Series: AI + Observability: AI Agents, LLMs, Apps, & Infrastructure

AI + Observability: AI Agents, LLMs, Apps, & Infrastructure The rapid evolution of artificial intelligence ...

Splunk Technical Support Is Moving to Cisco Support Tools

Introduction Splunk technical support is transitioning to Cisco’s support environment. This change brings ...