Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PPL: Add
json_extract
function #3262base: main
Are you sure you want to change the base?
PPL: Add
json_extract
function #3262Changes from all commits
70152eb
76c3995
ce2c551
ad1bde3
ccf47a2
acc76a0
519c6f2
2e319fe
ee0820d
d44fc5a
3407d4a
7ef6cc9
e5e90ac
2187a5a
5e1e488
3512b33
9fea606
fbc54bc
31ad2a4
2b2a8f3
dc96563
1913bfe
67d979d
aa6b723
4c99235
9ccde7f
4306bf3
613137b
ab28872
3ec16e0
6dbf37b
b8c6d68
afb668c
54ef183
d841394
25fb527
4a20d08
fdc4729
707a0b9
4f28211
9ec6335
3324e66
7123c35
dbca991
7df87cb
cd45fcc
6f5dc07
0aae36e
b225f28
78af4f8
b84282a
1e23286
343f5a2
e8b6df3
ab9be75
788be9d
a9721bf
daa95ff
018e462
c6c6cc1
a5652ea
2cd10a2
cd78ddd
afb385f
0e91b2e
794db8a
0f0b8d4
f030057
2b08007
be52786
6bd2f40
0b9e9e4
6678be4
e57fa21
112be65
306ac97
75e9cc3
77827bb
80f44e2
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this means we only accept a single path
Splunk function takes a variable length of paths: https://docs.splunk.com/Documentation/SCS/current/SearchReference/JSONFunctions#json_extract.28.26lt.3Bjson.26gt.3B.2C_.26lt.3Bpaths.26gt.3B.29
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can u plz add license header ?
thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please don't reuse variable names:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please don't reuse variable names: