Skip to content

Commit 4d8df7e

Browse files
improved the combined inventory search example
1 parent b9c9989 commit 4d8df7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ And just a few more for fun...
121121

122122
Here's an example where we join the computePhysicalSummaries and the networkElementSummaries into a combined table...
123123

124-
`index=* sourcetype="cisco:intersight:*Summaries" | dedup Moid | eval version=coalesce(Version,Firmware) | table source, Name, Model, Serial, version`
124+
`index=* sourcetype="cisco:intersight:*Summaries" | dedup Moid | eval version=coalesce(Version,Firmware) | rex field=SourceObjectType "compute\.(?<ComputeType>.*)" | eval Type=coalesce(ComputeType,SwitchType) | table source, Type, Name, Model, Serial, version`
125125

126126
Here's an example where we join the Advisory instances to our other inventory types to provide a detailed view...
127127

0 commit comments

Comments
 (0)