How can I effectively use the J1QL string concatenation CONCAT () function?
dcpeach
✭✭✭✭✭
By definition the CONCAT () function allows two or more query columns, strings, numbers and generates into one new string value.
0
Answers
-
The following use cases will reveal the power of the CONCAT () function
1. Identify github pull requests by account login and approver login?FIND github_pullrequest RETURN CONCAT(github_pullrequest.accountLogin, ', ', github_pullrequest.approverLogins)
2. Locate the last external ip address and the last internal ip address?FIND HostAgent RETURN CONCAT(HostAgent.lastExternalIpAddress, ', ', HostAgent.lastInternalIpAddress)
3. Specify spot instances and their respective instanceIds.FIND aws_instance RETURN CONCAT(aws_instance.instanceLifecycle, ', ', aws_instance.instanceId)
0
This Month's Leaders
Categories
- 336 All Categories
- Featured Categories
- 7 About the AskJ1 Community
- 11 Product Announcements
- From Mission Control
- 1 Rapid Response
- 3 How J1 Uses J1
- Topics
- 131 Asset Management
- 56 Compliance & Reporting
- 65 Security Operations
- 40 Security Engineering
- 5 Open Source
- 18 News, Careers and More