All Apps and Add-ons

Splunk Alerts getting triggered to ServiceNow using Splunk Add-on for Service Now gets truncated

spl_unker
Explorer

Hi Splunkers

Im using "Splunk Add-on for Service Now"  to send  triggered alerts to servicenow.

Im trying to pass the alert name , alert time to the short description field in service now. In Service now i see the results populated but it gets truncated exactly at 80 character . 

I checked with service-now team as well in my organisation and they dont have any such limit at their end.

 

Additionaly when i checked the add-on i see the index_lenght =80 check has been used in the addon code. will this could be the reason behind the results getting trucated. Any one else faced this issue?

Code Snippet :

 

#
# SPDX-FileCopyrightText: 2021 Splunk, Inc. <sales@splunk.com>
# SPDX-License-Identifier: LicenseRef-Splunk-8-2021
#
#

APP_NAME = "Splunk_TA_snow"

DEFAULT_RECORD_LIMIT = 3000
DEFAULT_DISPLAY_VALUE = "false"

FIELD_SEPARATOR = "||"
INDEX_LENGTH = 80

FILTER_PARAMETER_MIGRATION_STANZA = "filter_parameter_migration"
SETTINGS_CONF_FILE = "splunk_ta_snow_settings"

CHECKPOINT_COLLECTION_NAME = "Splunk_TA_snow_inputs_checkpointer"
Labels (1)
0 Karma

AbuMehran
New Member
0 Karma

Rajiv_splunk
Path Finder

HI @spl_unker  we are facing a similar issue what you faced a year ago. Our short description is also getting truncated after 80 character and when i checked the code snippet it has same details as you shown in your post.

FIELD_SEPARATOR = "||"
INDEX_LENGTH = 80

DID YOU FOUND THE ANSWER FOR THIS. IS THIS HAS ANYTHING TO DO WITH THE INDEX_LENGTH. Should we change the index length and redeploy. Your answer on this will be highly appreciated

 

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...