Skip to content

Commit

Permalink
improved the combined inventory search example
Browse files Browse the repository at this point in the history
  • Loading branch information
jerewill-cisco authored Jun 28, 2022
1 parent b9c9989 commit 4d8df7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ And just a few more for fun...

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

`index=* sourcetype="cisco:intersight:*Summaries" | dedup Moid | eval version=coalesce(Version,Firmware) | table source, Name, Model, Serial, version`
`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`

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

Expand Down

0 comments on commit 4d8df7e

Please sign in to comment.