Home
Join the Community
Welcome Center
Welcome Center
Join Slack
Be a Splunk Champion
SplunkTrust
Splunk MVP
Become a User Group Leader
Splunk Love
Share a Tip
Find Answers
Splunk Administration
Getting Data In
Deployment Architecture
Monitoring Splunk
Using Splunk
Splunk Search
Dashboards & Visualizations
Splunk Products
Splunk Enterprise
Splunk Enterprise Security
Splunk Cloud Platform
Splunk Observability Cloud
Splunk AppDynamics
Splunk SOAR
Apps & Add-ons
All Apps and Add-ons
Splunk Development
Events
User Groups
Tech Talks: Technical Deep Dives
Office Hours: Ask the Experts
From Data to Insight: The Splunk Dashboard Contest
Dashboard Contest Terms and Conditions
Blogs
Community Blog
Product News & Announcements
Training & Certification Blog
Learning
Learning Paths
Training & Certification
Training + Certification Discussions
AppDynamics Knowledge Base
Best of conf
Resources
.conf25
Splunkbase
Developers
Documentation
Splunk Ideas
Splunk Events
Voice of Customer
Sign In
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
×
Join the Conversation
Without signing in, you're just watching from the sidelines.
Sign in or Register
to connect, share, and be part of the Splunk Community.
Ask a Question
Find Answers
:
About stephenwmccoy
stephenwmccoy
Engager
Member since:
09-12-2019
06-05-2020
Community Statistics
Posts
1
Solutions
0
Karma Given
0
Karma Received
1
Member Since
09-12-2019
View all badges
Activity Feed
Got Karma for
Re: REST API - JSON Invalid format
.
01-14-2023
07:07 AM
Posted
Re: REST API - JSON Invalid format
on
Getting Data In
.
09-12-2019
10:24 AM
Topics I've Started
No posts to display.
View All
Latest Contributions by stephenwmccoy
Topics stephenwmccoy has Participated In
Latest Contributions by stephenwmccoy
Re: REST API - JSON Invalid format
by
stephenwmccoy
in
Getting Data In
09-12-2019
10:24 AM
1 Karma
09-12-2019
10:24 AM
1 Karma
I found this to work a little more consistently - def fixSplunkJSON( strSplunk ) : strJSON = strSplunk.replace( '}}', '}},' ) strJSON = strJSON.replace( '}}\n', '}}' ) strJSON = strJSON.rstrip( '\n' ) strJSON = strJSON.rstrip( ',' ) strJSON = '[' + strJSON + ']' return strJSON
... View more
Contact Me
Online Status
Offline
Date Last Visited
06-05-2020
02:04 AM
Karma from
User
Karma Count
jwalzerpitt
1
View All