Skip to content

Commit 7f5438a

Browse files
updated the last of the examples
1 parent cc6f4cf commit 7f5438a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,15 +144,18 @@ index=* sourcetype=cisco:intersight:*
144144
In many cases, this will retrieve duplicate records as alarms are updated or inventory is regularly re-imported. The [dedup command](https://docs.splunk.com/Documentation/Splunk/8.2.6/SearchReference/Dedup) can be easily used to retrieve data without unwanted duplication.
145145

146146
```SPL
147-
index=* sourcetype="cisco:intersight:computePhysicalSummaries" | dedup Moid`
147+
index=* sourcetype="cisco:intersight:computePhysicalSummaries"
148+
| dedup Moid`
148149
```
149150

150151
The technique of using `| dedup Moid` is applicable to all sourcetypes except cisco:intersight:aaaAuditRecords and should be used in most circumstances.
151152

152153
The following search might be useful to understand how many Intersight records of various types exist in Splunk...
153154

154155
```SPL
155-
index=* sourcetype=cisco:intersight:* | Dedup Moid | chart count by index, sourcetype, source
156+
index=* sourcetype=cisco:intersight:*
157+
| dedup Moid
158+
| chart count by index, sourcetype, source
156159
```
157160

158161
You may also notice, if you are very familiar with the Intersight API, that there are things that are missing in Splunk that are present elsewhere. This is due to editorial pruning that is occurring in the Add-on. There are some object references in the API results that simply don't serve any purpose in Splunk. The Add-on is pruning these to improve the overall experience and optimize the amount of data that gets pushed to Splunk. Likewise, some of the items that are presented in the API as Mo.Ref references are expanded with certain properties selected. Thus, **most** of the mo.MoRef objects that you would encounter in the API are either removed or expanded into something more useful.

0 commit comments

Comments
 (0)